qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [COMMIT 6b99dad] Do not disable autostart for live migrat


From: Anthony Liguori
Subject: [Qemu-commits] [COMMIT 6b99dad] Do not disable autostart for live migration
Date: Thu, 27 Aug 2009 22:03:58 -0000

From: Avi Kivity <address@hidden>

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

Signed-off-by: Avi Kivity <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>

diff --git a/vl.c b/vl.c
index 8b2b289..55d5bbe 100644
--- a/vl.c
+++ b/vl.c
@@ -6040,12 +6040,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) {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]