Re: [PATCH] failover: fix unplug pending detection

2021-10-01 Thread Laurent Vivier
On 01/10/2021 07:19, Ani Sinha wrote: On Thu, 30 Sep 2021, Laurent Vivier wrote: On 30/09/2021 11:24, Ani Sinha wrote: On Thu, 30 Sep 2021, 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

Re: [PATCH] failover: fix unplug pending detection

2021-09-30 Thread Ani Sinha
On Thu, 30 Sep 2021, Laurent Vivier wrote: > On 30/09/2021 11:24, Ani Sinha wrote: > > > > > > On Thu, 30 Sep 2021, 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

Re: [PATCH] failover: fix unplug pending detection

2021-09-30 Thread Laurent Vivier
On 30/09/2021 11:24, Ani Sinha wrote: On Thu, 30 Sep 2021, 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().

Re: [PATCH] failover: fix unplug pending detection

2021-09-30 Thread Ani Sinha
On Thu, 30 Sep 2021, 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 > 17858a169508

[PATCH] failover: fix unplug pending detection

2021-09-30 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