summaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
authorGleb Natapov <gleb@redhat.com>2010-02-21 16:23:20 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2010-02-23 13:23:29 -0600
commitc64484a543ac8763367d1222358b9c626fce5543 (patch)
treeaa64395ddd9b54bfa2d6d3d9232514d726050431 /monitor.c
parent05447803d034fc634c8372091c031578043dd80d (diff)
downloadqemu-c64484a543ac8763367d1222358b9c626fce5543.tar.gz
fix 'i' format handling in memory dump
It was broken by 09b9418c6d0. (!env && !is_physical) != (!is_physical) when env is true. Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/monitor.c b/monitor.c
index b1a6edccff..19470d1c0f 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;