diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2012-10-31 10:49:02 +0100 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2012-11-10 13:24:39 +0000 |
commit | 7ea692b24055022248b895f2203a6ab1ad54859b (patch) | |
tree | 81efbfca32bdacd6c47fb8b2450ecf4186c03454 /memory.c | |
parent | 22bde7145495ad78c4bed8bb76d9401ec8d107b2 (diff) |
memory: Don't dump disabled regions
This makes "info mtree" output readable again.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'memory.c')
-rw-r--r-- | memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |