[Top][All Lists]

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

[Qemu-devel] [PATCH 05/12] fix broken migration

From: Glauber Costa
Subject: [Qemu-devel] [PATCH 05/12] fix broken migration
Date: Wed, 26 Aug 2009 09:05:39 -0400

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 
doesn't really matter to me.

Any way the wind blows...

Signed-off-by: Glauber Costa <address@hidden>
CC: Paolo Bonzini <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>
Signed-off-by: Glauber Costa <address@hidden>
 vl.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/vl.c b/vl.c
index 6cd0ce7..0e46727 100644
--- a/vl.c
+++ b/vl.c
@@ -5721,8 +5721,10 @@ int main(int argc, char **argv, char **envp)
     if (loadvm)
-    if (incoming)
+    if (incoming) {
+        autostart = 0;
+    }
     if (autostart)

reply via email to

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