Re: [libvirt] [PATCH v1 2/3] virhostdev: introduce virHostdevReattachAllPCIDevices

2019-07-19 Thread Daniel Henrique Barboza
On 7/19/19 8:52 AM, Michal Privoznik wrote: On 7/18/19 10:10 PM, Daniel Henrique Barboza wrote: There are two places in virhostdev that executes a re-attach operation in all pci devices of a virPCIDeviceListPtr array: virHostdevPreparePCIDevices and virHostdevReAttachPCIDevices. The

Re: [libvirt] [PATCH v1 2/3] virhostdev: introduce virHostdevReattachAllPCIDevices

2019-07-19 Thread Michal Privoznik
On 7/18/19 10:10 PM, Daniel Henrique Barboza wrote: There are two places in virhostdev that executes a re-attach operation in all pci devices of a virPCIDeviceListPtr array: virHostdevPreparePCIDevices and virHostdevReAttachPCIDevices. The difference is that the code inside

[libvirt] [PATCH v1 2/3] virhostdev: introduce virHostdevReattachAllPCIDevices

2019-07-18 Thread Daniel Henrique Barboza
There are two places in virhostdev that executes a re-attach operation in all pci devices of a virPCIDeviceListPtr array: virHostdevPreparePCIDevices and virHostdevReAttachPCIDevices. The difference is that the code inside virHostdevPreparePCIDevices uses virPCIDeviceReattach(), while inside