mirror of https://gitee.com/openkylin/qemu.git
vl: fix migration from prelaunch state
Reproducer is simply to migrate a virtual machine that was started with -S, or that was already migrated. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
7ec13c798a
commit
98799b0d4b
2
vl.c
2
vl.c
|
@ -590,6 +590,8 @@ 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_INMIGRATE, RUN_STATE_POSTMIGRATE },
|
||||
|
||||
{ RUN_STATE_INTERNAL_ERROR, RUN_STATE_PAUSED },
|
||||
{ RUN_STATE_INTERNAL_ERROR, RUN_STATE_FINISH_MIGRATE },
|
||||
|
|
Loading…
Reference in New Issue