vl: fix migration from prelaunch state
PATCH 1/1 vl: fix migration from prelaunch state
Reproducer is simply to migrate a virtual machine that was started with -S.
Signed-off-by Paolo Bonzini <[email protected]>
--- vl.c | 1 + 1 file changed, 1 insertion(+)
vl.c +1 -0
@@ -590,6 +590,7 @@ static const RunStateTransition runstate_transitions_def[] = { { RUN_STATE_INMIGRATE, RUN_STATE_WATCHDOG }, { RUN_STATE_INMIGRATE, RUN_STATE_GUEST_PANICKED }, { RUN_STATE_INMIGRATE, RUN_STATE_FINISH_MIGRATE }, + { RUN_STATE_INMIGRATE, RUN_STATE_PRELAUNCH }, { RUN_STATE_INTERNAL_ERROR, RUN_STATE_PAUSED }, { RUN_STATE_INTERNAL_ERROR, RUN_STATE_FINISH_MIGRATE },
Signature · 1 line
2.5.0
Quoted 3 lines · * Paolo Bonzini ([email protected]) wrote:
Reproducer is simply to migrate a virtual machine that was started with -S.
Signed-off-by Paolo Bonzini <[email protected]>
Reviewed-by Dr. David Alan Gilbert <[email protected]>
(I'm sure we have a bz for that as well somewhere)
Dave
Quoted 20 lines
--- vl.c | 1 + 1 file changed, 1 insertion(+)vl.c +1
-0@@ -590,6 +590,7 @@ static const RunStateTransition runstate_transitions_def[] = { { RUN_STATE_INMIGRATE, RUN_STATE_WATCHDOG }, { RUN_STATE_INMIGRATE, RUN_STATE_GUEST_PANICKED }, { RUN_STATE_INMIGRATE, RUN_STATE_FINISH_MIGRATE }, + { RUN_STATE_INMIGRATE, RUN_STATE_PRELAUNCH }, { RUN_STATE_INTERNAL_ERROR, RUN_STATE_PAUSED }, { RUN_STATE_INTERNAL_ERROR, RUN_STATE_FINISH_MIGRATE },Signature · 1 line
2.5.0
--
Dr. David Alan Gilbert / [email protected] / Manchester, UK