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
commit0222d55fbd8733e76628a690c7c0928b05327544 (patch)
treeaa64395ddd9b54bfa2d6d3d9232514d726050431 /monitor.c
parent826896f2fd2763e068d601d81be00788a1e7ea45 (diff)
downloadqemu-0222d55fbd8733e76628a690c7c0928b05327544.tar.gz
qemu-0222d55fbd8733e76628a690c7c0928b05327544.tar.bz2
qemu-0222d55fbd8733e76628a690c7c0928b05327544.zip
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;