Re: [PATCH 04/25] qemu: Build qemu command line for scsi host device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07/05/13 01:37, John Ferlan wrote:
On 05/03/2013 02:07 PM, Osier Yang wrote:
From: Han Cheng <hanc.fnst@xxxxxxxxxxxxxx>

Except the scsi host device's controller is "lsilogic", mapping
between the libvirt attributes and scsi-generic properties is:

   libvirt     qemu
-----------------------------------------
   controller  bus ($libvirt_controller.0)
   bus         channel
   target      scsi-id
   unit        lun

For scsi host device with "lsilogic" controller, the mapping is:
('target (libvirt)' must be 0, as it's not used; 'unit (libvirt)
must <= 7).

   libvirt            qemu
----------------------------------------------------------
   controller && bus  bus ($libvirt_controller.$libvirt_bus)
   unit               scsi-id

Might be nice to include this mapping in the code comments especially
for those looking for this type of information some day that may not
think to look in a git commit log...

No need, one can get how we map it from the code clearly, adding it in
commit log is just for easy reviewing. :/

Osier

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]