Re: [RFC PATCH] pcie: Defer hot unplug until migration is complete

2020-01-27 Thread Julia Suvorova
On Fri, Jan 17, 2020 at 5:56 PM Dr. David Alan Gilbert wrote: > > * Julia Suvorova (jus...@redhat.com) wrote: > > On Mon, Jan 13, 2020 at 3:04 PM Yury Kotov > > wrote: > > > > > > Devices hot-plug during migration is not allowed and disabled in > > > corresponding QMP-commands (device_add, devic

Re: [RFC PATCH] pcie: Defer hot unplug until migration is complete

2020-01-17 Thread Dr. David Alan Gilbert
* Julia Suvorova (jus...@redhat.com) wrote: > On Mon, Jan 13, 2020 at 3:04 PM Yury Kotov wrote: > > > > Devices hot-plug during migration is not allowed and disabled in > > corresponding QMP-commands (device_add, device_del). > > But guest still can unplug device by powering it off > > (Example: e

Re: [RFC PATCH] pcie: Defer hot unplug until migration is complete

2020-01-16 Thread Julia Suvorova
On Mon, Jan 13, 2020 at 3:04 PM Yury Kotov wrote: > > Devices hot-plug during migration is not allowed and disabled in > corresponding QMP-commands (device_add, device_del). > But guest still can unplug device by powering it off > (Example: echo 0 > /sys/bus/pci/slots/XXX/power). You don't want t

[RFC PATCH] pcie: Defer hot unplug until migration is complete

2020-01-13 Thread Yury Kotov
Devices hot-plug during migration is not allowed and disabled in corresponding QMP-commands (device_add, device_del). But guest still can unplug device by powering it off (Example: echo 0 > /sys/bus/pci/slots/XXX/power). Fix it by deferring unplugging until the migration is complete. Signed-off-b