Re: [PATCH] runstate: ignore exit request in finish migrate state

2019-10-22 Thread Paolo Bonzini
On 17/10/19 12:18, Laurent Vivier wrote: > Trying to reboot a VM while a migration is running can > move to the prelaunch state (because of the reset) while > the runstate is in finish migrate state. > As the logical step after the finish migrate is postmigrate, > this can create an invalid state t

Re: [PATCH] runstate: ignore exit request in finish migrate state

2019-10-22 Thread Markus Armbruster
"Dr. David Alan Gilbert" writes: > * Paolo Bonzini (pbonz...@redhat.com) wrote: >> On 17/10/19 12:18, Laurent Vivier wrote: >> > Trying to reboot a VM while a migration is running can >> > move to the prelaunch state (because of the reset) while >> > the runstate is in finish migrate state. >> >

Re: [PATCH] runstate: ignore exit request in finish migrate state

2019-10-22 Thread Dr. David Alan Gilbert
* Paolo Bonzini (pbonz...@redhat.com) wrote: > On 17/10/19 12:18, Laurent Vivier wrote: > > Trying to reboot a VM while a migration is running can > > move to the prelaunch state (because of the reset) while > > the runstate is in finish migrate state. > > As the logical step after the finish migra

Re: [PATCH] runstate: ignore exit request in finish migrate state

2019-10-22 Thread Paolo Bonzini
On 17/10/19 12:18, Laurent Vivier wrote: > Trying to reboot a VM while a migration is running can > move to the prelaunch state (because of the reset) while > the runstate is in finish migrate state. > As the logical step after the finish migrate is postmigrate, > this can create an invalid state t

[PATCH] runstate: ignore exit request in finish migrate state

2019-10-17 Thread Laurent Vivier
Trying to reboot a VM while a migration is running can move to the prelaunch state (because of the reset) while the runstate is in finish migrate state. As the logical step after the finish migrate is postmigrate, this can create an invalid state transition from prelaunch state to postmigrate state