qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] fix broken migration
@ 2009-07-24 20:20 Glauber Costa
  2009-07-25  1:37 ` [Qemu-devel] " Paolo Bonzini
  0 siblings, 1 reply; 11+ messages in thread
From: Glauber Costa @ 2009-07-24 20:20 UTC (permalink / raw)
  To: qemu-devel; +Cc: Paolo Bonzini, aliguori

While fixing migration with -S, commit
89befdd1a6b18215153b8976682d57b7d03d5782 broke the rest of us. Poor
glommer, with a poor family, spare him his life from this monstruosity.

Since the unconditional vm_start, not autostart was the villain, I'm putting
back autostart. Let me know if you prefer other solutions, it doesn't really matter,
doesn't really matter to me.

Any way the wind blows...

Signed-off-by: Glauber Costa <glommer@redhat.com>
CC: Paolo Bonzini <pbonzini@redhat.com>
---
 vl.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/vl.c b/vl.c
index ce213c2..015f631 100644
--- a/vl.c
+++ b/vl.c
@@ -6075,8 +6075,10 @@ int main(int argc, char **argv, char **envp)
     if (loadvm)
         do_loadvm(cur_mon, loadvm);
 
-    if (incoming)
+    if (incoming) {
+        autostart = 0;
         qemu_start_incoming_migration(incoming);
+    }
 
     if (autostart)
         vm_start();
-- 
1.6.2.2

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2009-07-27 23:13 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-24 20:20 [Qemu-devel] [PATCH] fix broken migration Glauber Costa
2009-07-25  1:37 ` [Qemu-devel] " Paolo Bonzini
2009-07-27 18:02   ` Glauber Costa
2009-07-27 19:31     ` Paolo Bonzini
2009-07-27 20:18       ` Glauber Costa
2009-07-27 21:08         ` [Qemu-devel] [PATCH] fix migration to not require -S Paolo Bonzini
2009-07-27 21:17         ` [Qemu-devel] [PATCH alternative] fix migration to obey -S Paolo Bonzini
2009-07-27 21:29           ` [Qemu-devel] " Glauber Costa
2009-07-27 21:36             ` Anthony Liguori
2009-07-27 23:15               ` Glauber Costa
2009-07-27 23:13                 ` Anthony Liguori

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).