qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH] fix 'i' format handling in memory dump


From: Gleb Natapov
Subject: [Qemu-devel] [PATCH] fix 'i' format handling in memory dump
Date: Sun, 21 Feb 2010 16:23:20 +0200

It was broken by 09b9418c6d0. (!env && !is_physical) != (!is_physical) 
when env is true.

Signed-off-by: Gleb Natapov <address@hidden>
diff --git a/monitor.c b/monitor.c
index b1a6edc..19470d1 100644
--- a/monitor.c
+++ b/monitor.c
@@ -1297,8 +1297,6 @@ static void memory_dump(Monitor *mon, int count, int 
format, int wsize,
         int flags;
         flags = 0;
         env = mon_get_cpu();
-        if (!is_physical)
-            return;
 #ifdef TARGET_I386
         if (wsize == 2) {
             flags = 1;
--
                        Gleb.




reply via email to

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