[PATCH 0/3] memory: Display AddressSpace zero-based in 'info mtree'

Philippe Mathieu-Daudé posted 3 patches 3 years, 1 month ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20210305235414.2358144-1-f4bug@amsat.org
softmmu/memory.c | 22 ++++++++++++----------
1 file changed, 12 insertions(+), 10 deletions(-)
[PATCH 0/3] memory: Display AddressSpace zero-based in 'info mtree'
Posted by Philippe Mathieu-Daudé 3 years, 1 month ago
Hi,

I have been confused for some years by AddressSpace being displayed
based on the physical address of their first MemoryRegion.
The actual fix is quite trivial for my needs, but I might not see
all the possible side effects. Altough the change are restricted
to mtree_info() which is only available on the monitor.

Last patch is a minor cleanup. I ended not using it.

Regards,

Phil.

Philippe Mathieu-Daudé (3):
  memory: Better name 'offset' argument in mtree_print_mr()
  memory: Provide 'base address' argument to mtree_print_mr()
  memory: Make memory_region_to_absolute_addr() take a const
    MemoryRegion

 softmmu/memory.c | 22 ++++++++++++----------
 1 file changed, 12 insertions(+), 10 deletions(-)

-- 
2.26.2