From 7ea692b24055022248b895f2203a6ab1ad54859b Mon Sep 17 00:00:00 2001 From: Jan Kiszka Date: Wed, 31 Oct 2012 10:49:02 +0100 Subject: memory: Don't dump disabled regions This makes "info mtree" output readable again. Signed-off-by: Jan Kiszka Signed-off-by: Blue Swirl --- memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'memory.c') diff --git a/memory.c b/memory.c index 09e44b84ab..741985385c 100644 --- 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; } -- cgit v1.2.3