projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22bde71
)
memory: Don't dump disabled regions
author
Jan Kiszka
<jan.kiszka@siemens.com>
Wed, 31 Oct 2012 09:49:02 +0000
(10:49 +0100)
committer
Blue Swirl
<blauwirbel@gmail.com>
Sat, 10 Nov 2012 13:24:39 +0000
(13:24 +0000)
This makes "info mtree" output readable again.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
memory.c
patch
|
blob
|
history
diff --git
a/memory.c
b/memory.c
index 09e44b84ab399a10383980d5fad1c86d5e7cc18c..741985385ca9de6b4d8c3d37f362b6e14e2ca7f5 100644
(file)
--- a/
memory.c
+++ b/
memory.c
@@
-1601,7
+1601,7
@@
static void mtree_print_mr(fprintf_function mon_printf, void *f,
const MemoryRegion *submr;
unsigned int i;
- if (!mr) {
+ if (!mr
|| !mr->enabled
) {
return;
}