summary refs log tree commit diff stats
path: root/scripts/qapi/source.py
diff options
context:
space:
mode:
authorTed Chen <znscnchen@gmail.com>2022-12-05 20:07:12 +0800
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2023-03-08 00:37:48 +0100
commitdbc6ae9c3b595e82e746178ce428e2f9a72db572 (patch)
tree16f86da08e157f80ad87f6d765dfb2f03242bfb0 /scripts/qapi/source.py
parent9d9bc7db50e7d4fc29da10be4bc7a4157b13a566 (diff)
downloadfocaccia-qemu-dbc6ae9c3b595e82e746178ce428e2f9a72db572.tar.gz
focaccia-qemu-dbc6ae9c3b595e82e746178ce428e2f9a72db572.zip
memory: Dump HPA and access type of ramblocks
It's convenient to dump HVA and RW/RO status of a ramblock in "info ramblock"
for debug purpose.

Before:
            Offset               Used              Total
0x0000000000000000 0x0000000400000000 0x0000000400000000

After:
            Offset               Used              Total                HVA  RO
0x0000000000000000 0x0000000400000000 0x0000000400000000 0x00007f12ebe00000  rw

Signed-off-by: Ted Chen <znscnchen@gmail.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20221205120712.269013-1-znscnchen@gmail.com>
[PMD: Add uintptr_t cast for 32-bit hosts]
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'scripts/qapi/source.py')
0 files changed, 0 insertions, 0 deletions