mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
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>
This commit is contained in:
parent
22bde71454
commit
7ea692b240
1 changed files with 1 additions and 1 deletions
2
memory.c
2
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue