Re: [PATCH v5 3/4] failover: fix unplug pending detection

2021-12-08 Thread Michael S. Tsirkin
On Wed, Dec 08, 2021 at 08:50:34AM +0100, Thomas Huth wrote: > On 08/12/2021 08.36, Michael S. Tsirkin wrote: > > On Fri, Nov 19, 2021 at 10:07:17AM +0100, Laurent Vivier wrote: > > > Failover needs to detect the end of the PCI unplug to start migration > > > after the VFIO card has been unplugged.

Re: [PATCH v5 3/4] failover: fix unplug pending detection

2021-12-08 Thread Ani Sinha
On Wed, Dec 8, 2021 at 1:20 PM Thomas Huth wrote: > > On 08/12/2021 08.36, Michael S. Tsirkin wrote: > > On Fri, Nov 19, 2021 at 10:07:17AM +0100, Laurent Vivier wrote: > >> Failover needs to detect the end of the PCI unplug to start migration > >> after the VFIO card has been unplugged. > >> > >>

Re: [PATCH v5 3/4] failover: fix unplug pending detection

2021-12-07 Thread Thomas Huth
On 08/12/2021 08.36, Michael S. Tsirkin wrote: On Fri, Nov 19, 2021 at 10:07:17AM +0100, Laurent Vivier wrote: Failover needs to detect the end of the PCI unplug to start migration after the VFIO card has been unplugged. To do that, a flag is set in pcie_cap_slot_unplug_request_cb() and reset i

Re: [PATCH v5 3/4] failover: fix unplug pending detection

2021-12-07 Thread Michael S. Tsirkin
On Fri, Nov 19, 2021 at 10:07:17AM +0100, Laurent Vivier wrote: > Failover needs to detect the end of the PCI unplug to start migration > after the VFIO card has been unplugged. > > To do that, a flag is set in pcie_cap_slot_unplug_request_cb() and reset in > pcie_unplug_device(). > > But since >

[PATCH v5 3/4] failover: fix unplug pending detection

2021-11-19 Thread Laurent Vivier
Failover needs to detect the end of the PCI unplug to start migration after the VFIO card has been unplugged. To do that, a flag is set in pcie_cap_slot_unplug_request_cb() and reset in pcie_unplug_device(). But since 17858a169508 ("hw/acpi/ich9: Set ACPI PCI hot-plug as default on Q35") we h