[02/16] migration: unix migration should obey autostart are the other ones

Submitted by Juan Quintela on March 11, 2010, 4:55 p.m.

Details

Message ID df010a71b58fcd4ae080fed1652daef2a74b1ec2.1268326362.git.quintela@redhat.com
State New
Headers show

Commit Message

Juan Quintela March 11, 2010, 4:55 p.m.
This was the only incoming migration without autostart check

Signed-off-by: Juan Quintela <quintela@redhat.com>
---
 migration-unix.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Patch hide | download patch | download mbox

diff --git a/migration-unix.c b/migration-unix.c
index ce59a2a..49de1b9 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);