Re: [libvirt] [PATCH v4 05/10] Split reprobe action from the virPCIUnbindFromStub into a new function

2015-11-22 Thread Laine Stump
On 11/20/2015 12:51 PM, Alex Williamson wrote: On Fri, 2015-11-20 at 11:33 -0500, Laine Stump wrote: On 11/14/2015 03:36 AM, Shivaprasad G Bhat wrote: The reprobe needs to be called multiple times for vfio devices for each device in the iommu group in future patch. So split the reprobe into a n

[libvirt] how to know if PCI device has SR-IOV PF capability

2015-11-22 Thread Moshe Levi
Hi, I was looking on the output of virsh nodedev-dumpxml on a PCI to see if it has SR-IOV PF capability. It seem that if the virtual functions are enables the xml look like [1] but if the PCI has no VFs enabled the output is like in [2]. As you can see for PCI which has no VFs the tag doen'