fix 'i' format handling in memory dump

It was broken by 09b9418c6d. (!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>
This commit is contained in:
Gleb Natapov 2010-02-21 16:23:20 +02:00 committed by Anthony Liguori
parent 05447803d0
commit c64484a543

View File

@ -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;