qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] x86: fix miss merge
@ 2009-10-05 18:30 Juan Quintela
  0 siblings, 0 replies; only message in thread
From: Juan Quintela @ 2009-10-05 18:30 UTC (permalink / raw)
  To: qemu-devel

There was a missmerge, and then we got a tail recursive call to cpu_post_load
without case base :)

Signed-off-by: Juan Quintela <quintela@redhat.com>
---
 target-i386/machine.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/target-i386/machine.c b/target-i386/machine.c
index c008209..b13eff4 100644
--- a/target-i386/machine.c
+++ b/target-i386/machine.c
@@ -383,7 +383,8 @@ static int cpu_post_load(void *opaque, int version_id)
         }
     }

-    return cpu_post_load(env, version_id);
+    tlb_flush(env, 1);
+    return 0;
 }

 const VMStateDescription vmstate_cpu = {
-- 
1.6.2.5

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

only message in thread, other threads:[~2009-10-05 18:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-05 18:30 [Qemu-devel] [PATCH] x86: fix miss merge Juan Quintela

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