From: Paolo Bonzini Date: Mon, 15 Feb 2016 18:40:04 +0000 (+0100) Subject: vl: fix migration from prelaunch state X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=98799b0d4be4fb5e3962005448119133a6bf74b2;p=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 --- diff --git a/vl.c b/vl.c index 76dfb54bcf..2e0116e100 100644 --- a/vl.c +++ b/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 },