[libvirt-users] HostDevev SCSI Devices
Fl@sh
kaperang07 at gmail.com
Sun Oct 19 18:01:26 UTC 2014
http://libvirt.org/formatdomain.html#elementsHostDevSubsys
At this description used "drive"-typed address for SCSI.
But when i get xml-description of scsi-devices by
<code>
unsigned int flags =
VIR_CONNECT_LIST_NODE_DEVICES_CAP_SCSI_HOST ;
int ret = virConnectListAllNodeDevices
(currWorkConnect, &nodeDevices, flags);
then get by virNodeDeviceGetXMLDesc(nodeDevices[i], 0));
</code>
i have same:
<device>
<name>scsi_host2</name>
<path>/sys/devices/pci0000:00/0000:00:1f.2/ata3/host2</path>
<parent>pci_0000_00_1f_2</parent>
<capability type='scsi_host'>
<host>2</host>
<unique_id>3</unique_id>
</capability>
</device>
.
I understand that this device description contains a
"pci"-typed addresses. Then where to get the "scsi"-typed
address?
--
Fl at sh
More information about the libvirt-users
mailing list