memory: Don't dump disabled regions
PATCH 1/1 memory: Don't dump disabled regions
This makes "info mtree" output readable again.
Signed-off-by Jan Kiszka <[email protected]>
--- memory.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
memory.c +1 -1
@@ -1590,7 +1590,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 ; }
Signature · 1 line
1.7.3.4
Blue Swirl
AppliedThanks, applied.
Quoted 23 lines · Jan Kiszka
This makes "info mtree" output readable again.
Signed-off-by Jan Kiszka <[email protected]>--- memory.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)memory.c +1
-2@@ -1590,7 +1590,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 ; } --1.7.3.4