Re: [PATCH 2/2] migration: failover: continue to wait card unplug on error

2021-06-30 Thread Dr. David Alan Gilbert
* Laurent Vivier (lviv...@redhat.com) wrote: > If the user cancels the migration in the unplug-wait state, > QEMU will try to plug back the card and this fails because the card > is partially unplugged. > To avoid the problem, continue to wait the card unplug, but to > allow the migration to be can

Re: [PATCH 2/2] migration: failover: continue to wait card unplug on error

2021-06-30 Thread Juan Quintela
Laurent Vivier wrote: > On 29/06/2021 19:50, Juan Quintela wrote: >> Laurent Vivier wrote: >>> If the user cancels the migration in the unplug-wait state, >>> QEMU will try to plug back the card and this fails because the card >>> is partially unplugged. >>> To avoid the problem, continue to wait

Re: [PATCH 2/2] migration: failover: continue to wait card unplug on error

2021-06-30 Thread Laurent Vivier
On 29/06/2021 19:50, Juan Quintela wrote: > Laurent Vivier wrote: >> If the user cancels the migration in the unplug-wait state, >> QEMU will try to plug back the card and this fails because the card >> is partially unplugged. >> To avoid the problem, continue to wait the card unplug, but to >> al

Re: [PATCH 2/2] migration: failover: continue to wait card unplug on error

2021-06-29 Thread Juan Quintela
Laurent Vivier wrote: > If the user cancels the migration in the unplug-wait state, > QEMU will try to plug back the card and this fails because the card > is partially unplugged. > To avoid the problem, continue to wait the card unplug, but to > allow the migration to be canceled if the card neve

[PATCH 2/2] migration: failover: continue to wait card unplug on error

2021-06-29 Thread Laurent Vivier
If the user cancels the migration in the unplug-wait state, QEMU will try to plug back the card and this fails because the card is partially unplugged. To avoid the problem, continue to wait the card unplug, but to allow the migration to be canceled if the card never finishes to unplug use a timeou