qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PULL 07/28] vl: fix migration from prelaunch state


From: Paolo Bonzini
Subject: [Qemu-devel] [PULL 07/28] vl: fix migration from prelaunch state
Date: Tue, 16 Feb 2016 17:34:25 +0100

Reproducer is simply to migrate a virtual machine that was started with -S,
or that was already migrated.

Signed-off-by: Paolo Bonzini <address@hidden>
---
 vl.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/vl.c b/vl.c
index 76dfb54..2e0116e 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 },
-- 
2.5.0





reply via email to

[Prev in Thread] Current Thread [Next in Thread]