search for: virnodedevicegetxmldesc

Displaying 2 results from an estimated 2 matches for "virnodedevicegetxmldesc".

2014 Oct 19
2
HostDevev SCSI Devices
...quot;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&g...
2016 Mar 17
1
Questions regarding hostdev scsi
...t ownership/labeling ourselves. This is not something I can change in a short term. Also, oVirt uses libvirt's python API, I'll do my best using the original C names. To report and construct the hostdev element, I am using virConnectListAllNodeDevices. To get information about the devices, virNodeDeviceGetXMLDesc is called on each device. For PCI and USB devices, XML of the device contains everything needed to a) construct the element, b) fix endpoint permissions. SCSI device becomes more difficult as the information is scattered between multiple devices. Devices I have encountered contain this subtree:...