[Libguestfs] [PATCH 0/3] generator: Allow returned strings to be annotated as devices.

Richard W.M. Jones rjones at redhat.com
Thu May 4 08:13:52 UTC 2017


If we want to permit more than 255 drives to be added, then we will
have to add the disks to the same virtio-scsi target using different
unit (LUN) numbers.

Unfortunately SCSI LUN enumeration in the Linux is not deterministic
(eg. two disks with target=0, lun=[0,1] can be enumerated as /dev/sda
or /dev/sdb randomly).  Dealing with that will require some very
complex device name translation on the way in and out of the
appliance.

This commit does _not_ do any of that, but it lays the groundwork so
we could do that in future if the need arises.

Rich.





More information about the Libguestfs mailing list