aboutsummaryrefslogtreecommitdiff
path: root/migration-unix.c
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2010-03-10 00:10:36 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2010-03-17 11:16:15 -0500
commitaf821177a73f1f1a2160b1d1a540847b2d69361e (patch)
tree3b2580169024bce87721439b60dde8deeb844f68 /migration-unix.c
parentcfaf6d36ae761da1033159d85d670706ffb24fb9 (diff)
migration: unix migration should obey autostart are the other ones
This was the only incoming migration without autostart check Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'migration-unix.c')
-rw-r--r--migration-unix.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/migration-unix.c b/migration-unix.c
index ce59a2a9e8..49de1b9e84 100644
--- a/migration-unix.c
+++ b/migration-unix.c
@@ -176,6 +176,8 @@ static void unix_accept_incoming_migration(void *opaque)
qemu_announce_self();
DPRINTF("successfully loaded vm state\n");
+ if (autostart)
+ vm_start();
out_fopen:
qemu_fclose(f);