[libvirt] [PATCH v3 06/30] virHostdevPreparePCIDevices: Separate out function body

2019-12-02 Thread Michal Privoznik
In near future we will have a list of PCI devices we want to detach (held in virPCIDeviceListPtr) but we don't have virDomainHostdevDefPtr. That's okay because virHostdevPreparePCIDevices() works with virPCIDeviceListPtr mostly anyway. And in very few places where it needs virDomainHostdevDefPtr ar

Re: [libvirt] [PATCH v3 06/30] virHostdevPreparePCIDevices: Separate out function body

2019-12-09 Thread Cole Robinson
On 12/2/19 9:26 AM, Michal Privoznik wrote: > In near future we will have a list of PCI devices we want to > detach (held in virPCIDeviceListPtr) but we don't have > virDomainHostdevDefPtr. That's okay because > virHostdevPreparePCIDevices() works with virPCIDeviceListPtr > mostly anyway. And in ve