
5 Feb
2015
5 Feb
'15
7:54 a.m.
On 02/03/2015 06:52 AM, Shivaprasad G Bhat wrote:
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(+)
These are now pushed... Thanks again! John