summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2012-03-07 08:00:26 +0100
committerLuiz Capitulino <lcapitulino@redhat.com>2012-05-08 14:29:14 -0300
commit7b5d3aa2ccd886cd50216bc35fe3329e7487502e (patch)
tree1ee49d04a931c12f4a32c542d2bf5272a7ce0a01
parent4f08129eeb42422655cc946a0a0c3accc2b8e3db (diff)
downloadqemu-7b5d3aa2ccd886cd50216bc35fe3329e7487502e.tar.gz
wakeup on migration
Wakeup the guest when the live part of the migation is finished. This avoids being in suspended state on migration, so we don't have to save the is_suspended bit. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Luiz Capitulino <lcapitulino@redhat.com>
-rw-r--r--migration.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/migration.c b/migration.c
index 94f7839e8b..f9e968ee2a 100644
--- a/migration.c
+++ b/migration.c
@@ -252,6 +252,7 @@ static void migrate_fd_put_ready(void *opaque)
int old_vm_running = runstate_is_running();
DPRINTF("done iterating\n");
+ qemu_system_wakeup_request(QEMU_WAKEUP_REASON_OTHER);
vm_stop_force_state(RUN_STATE_FINISH_MIGRATE);
if (qemu_savevm_state_complete(s->file) < 0) {