qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] Do not disable autostart for live migration
@ 2009-08-09 11:39 Avi Kivity
  0 siblings, 0 replies; only message in thread
From: Avi Kivity @ 2009-08-09 11:39 UTC (permalink / raw)
  To: Anthony Liguori; +Cc: qemu-devel

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

Signed-off-by: Avi Kivity <avi@redhat.com>
---
 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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-08-09 11:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-09 11:39 [Qemu-devel] [PATCH] Do not disable autostart for live migration Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).