[PATCH] check "fc_host" and "vport_ops" capabilitis in SCSI host nodedevs

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

 



virNodeListDevices called by listDevices indirectly uses the
virNodeDeviceHasCap() which is buggy.

Earlier, virNodeListDevices was used in "virsh nodedev-list" as well. Though,
the code was rewritten to use vshNodeDeviceListCollect instead.

The patch fixes listDevices output for the below python script.
-------------
import libvirt
conn = libvirt.openReadOnly('qemu:///system')
fc = conn.listDevices('fc_host', 0)
print(fc)
------------

---

Shivaprasad G Bhat (1):
      check "fc_host" and "vport_ops" capabilities in SCSI host nodedevs


 src/conf/node_device_conf.c |    8 ++++++++
 1 file changed, 8 insertions(+)

-- 
Signature

--
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]