Skip to contentSkip to conversation

Do not disable autostart for live migration

PATCH New Avi Kivity 1 participant 1 message Aug 9, 2009

lore
Share & tools
lore

Avi Kivity

author
#0 lore raw

PATCH 1/1 Do not disable autostart for live migration

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

---
 vl.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
vl.c +2 -4
index a526cb0..cf7fb3b 100644
@@ -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) {
Signature · 1 line
1.6.3.3