[libvirt] unclear docs about scsi hostdev

Olaf Hering olaf at aepfle.de
Thu Apr 16 14:23:21 UTC 2015


On Wed, Apr 15, Olaf Hering wrote:

> The scsi host example in https://libvirt.org/formatdomain.html does not
> make it clear what "<adapter name='scsi_host0'/>" refers to. It implies
> that any host #0 will be used. Since the index numbers for each host are
> dynamic an unexpected device may be used by libvirt.

Looking through the sources it appears that <adapter name=''/> is NOT a
free string.

Why does libvirt expect a dumb "host:channel:target:lun" notation for a
host device? How does that work for people in practice?

Olaf




More information about the libvir-list mailing list