Re: [libvirt] [PATCH v1 3/3] virhostdev: remove virHostdevReattachPCIDevice

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: We have 3 pieces of code that do slightly the same thing, but it varies depending on where it is called: - virPCIDeviceReattach(). This is where the actual re-attach work happens; -

Re: [libvirt] [PATCH v1 3/3] virhostdev: remove virHostdevReattachPCIDevice

2019-07-19 Thread Michal Privoznik
On 7/18/19 10:10 PM, Daniel Henrique Barboza wrote: We have 3 pieces of code that do slightly the same thing, but it varies depending on where it is called: - virPCIDeviceReattach(). This is where the actual re-attach work happens; - virHostdevReattachPCIDevice(). This is a static function

[libvirt] [PATCH v1 3/3] virhostdev: remove virHostdevReattachPCIDevice

2019-07-18 Thread Daniel Henrique Barboza
We have 3 pieces of code that do slightly the same thing, but it varies depending on where it is called: - virPCIDeviceReattach(). This is where the actual re-attach work happens; - virHostdevReattachPCIDevice(). This is a static function from virhostdev.c that calls virPCIDeviceReattach() after