From: Avi Kivity <[email protected]>

If the user does not want autostart, they can specify -S.

Signed-off-by: Avi Kivity <[email protected]>

diff --git a/vl.c b/vl.c
index 80ad7ae..704d671 100644
--- a/vl.c
+++ b/vl.c
@@ -6209,12 +6209,10 @@ int main(int argc, char **argv, char **envp)
         do_loadvm(cur_mon, loadvm);
 
     if (incoming) {
-        autostart = 0;
         qemu_start_incoming_migration(incoming);
-    }
-
-    else if (autostart)
+    } else if (autostart) {
         vm_start();
+    }
 
 #ifndef _WIN32
     if (daemonize) {
--
To unsubscribe from this list: send the line "unsubscribe kvm-commits" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to