Re: [PATCH 3/3] spapr: Migrate SpaprDrc::unplug_requested

2020-02-14 Thread Greg Kurz
On Fri, 14 Feb 2020 13:29:00 +1100 David Gibson wrote: > On Mon, Feb 03, 2020 at 11:36:22PM +0100, Greg Kurz wrote: > > Hot unplugging a device is an asynchronous operation. If the guest is > > migrated after the event was sent but before it could release the > > device with RTAS, the

Re: [PATCH 3/3] spapr: Migrate SpaprDrc::unplug_requested

2020-02-13 Thread David Gibson
On Mon, Feb 03, 2020 at 11:36:22PM +0100, Greg Kurz wrote: > Hot unplugging a device is an asynchronous operation. If the guest is > migrated after the event was sent but before it could release the > device with RTAS, the destination QEMU doesn't know about the pending > unplug operation and

[PATCH 3/3] spapr: Migrate SpaprDrc::unplug_requested

2020-02-03 Thread Greg Kurz
Hot unplugging a device is an asynchronous operation. If the guest is migrated after the event was sent but before it could release the device with RTAS, the destination QEMU doesn't know about the pending unplug operation and doesn't actually remove the device when the guest finally releases it.