Re: [libvirt] [PATCH v2 3/7] util/virhostdev: enhance VFIO device is in use detection

2019-08-16 Thread Michal Privoznik
On 7/25/19 8:09 PM, Daniel Henrique Barboza wrote: The current virHostdevPreparePCIDevices code fails to detect an unmanaged VFIO device that is in the activePCIHostdevs, and active in the same domain name as dom_name, as a device in use. Considering a call to this function, when

[libvirt] [PATCH v2 3/7] util/virhostdev: enhance VFIO device is in use detection

2019-07-25 Thread Daniel Henrique Barboza
The current virHostdevPreparePCIDevices code fails to detect an unmanaged VFIO device that is in the activePCIHostdevs, and active in the same domain name as dom_name, as a device in use. Considering a call to this function, when activePCIHostdevs has a VFIO deviceA in the list, and deviceA is