[Qemu-devel] [PATCH 1/1] vl: change QEMU state machine for system reset

2016-02-13 Thread Denis V. Lunev
This patch implements proposal from Paolo to handle system reset when the guest is not running. "After a reset, main_loop_should_exit should actually transition to VM_STATE_PRELAUNCH (*not* RUN_STATE_PAUSED) for *all* states except RUN_STATE_INMIGRATE, RUN_STATE_SAVE_VM (which I think cannot

Re: [Qemu-devel] [PATCH 1/1] vl: change QEMU state machine for system reset

2016-01-21 Thread Denis V. Lunev
On 01/21/2016 01:35 PM, Paolo Bonzini wrote: On 19/01/2016 08:59, Denis V. Lunev wrote: @@ -612,8 +617,10 @@ static const RunStateTransition runstate_transitions_def[] = { { RUN_STATE_FINISH_MIGRATE, RUN_STATE_RUNNING }, { RUN_STATE_FINISH_MIGRATE, RUN_STATE_POSTMIGRATE }, +

Re: [Qemu-devel] [PATCH 1/1] vl: change QEMU state machine for system reset

2016-01-21 Thread Paolo Bonzini
On 19/01/2016 08:59, Denis V. Lunev wrote: > @@ -612,8 +617,10 @@ static const RunStateTransition > runstate_transitions_def[] = { > > { RUN_STATE_FINISH_MIGRATE, RUN_STATE_RUNNING }, > { RUN_STATE_FINISH_MIGRATE, RUN_STATE_POSTMIGRATE }, > +{ RUN_STATE_FINISH_MIGRATE,

[Qemu-devel] [PATCH 1/1] vl: change QEMU state machine for system reset

2016-01-19 Thread Denis V. Lunev
This patch implements proposal from Paolo to handle system reset when the guest is not running. "After a reset, main_loop_should_exit should actually transition to VM_STATE_PRELAUNCH (*not* RUN_STATE_PAUSED) for *all* states except RUN_STATE_INMIGRATE, RUN_STATE_SAVE_VM (which I think cannot