qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH] Do not disable autostart for live migration


From: Avi Kivity
Subject: [Qemu-devel] [PATCH] Do not disable autostart for live migration
Date: Sun, 9 Aug 2009 14:39:20 +0300

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

Signed-off-by: Avi Kivity <address@hidden>
---
 vl.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/vl.c b/vl.c
index a526cb0..cf7fb3b 100644
--- a/vl.c
+++ b/vl.c
@@ -6090,12 +6090,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) {
-- 
1.6.3.3





reply via email to

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