aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2016-02-15 19:40:04 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2016-02-16 09:27:59 +0100
commit98799b0d4be4fb5e3962005448119133a6bf74b2 (patch)
tree6fe599000f0bee2dc26ce92e8be4c495439f8102
parent7ec13c798a5792c70edbc088ac6aae07c85ee230 (diff)
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>
-rw-r--r--vl.c2
1 files changed, 2 insertions, 0 deletions
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 },