projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ec13c7
)
vl: fix migration from prelaunch state
author
Paolo Bonzini
<pbonzini@redhat.com>
Mon, 15 Feb 2016 18:40:04 +0000
(19:40 +0100)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Tue, 16 Feb 2016 08:27:59 +0000
(09:27 +0100)
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>
vl.c
patch
|
blob
|
history
diff --git
a/vl.c
b/vl.c
index 76dfb54bcf5c99e3b53f7dfd17b747e8da8ddf89..2e0116e100f9f5fc2595eb96cf1a00aa465dc082 100644
(file)
--- 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 },