[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v4 0/2] memory: extend "info mtree" with flat vi
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH v4 0/2] memory: extend "info mtree" with flat view dump |
Date: |
Wed, 18 Jan 2017 10:05:49 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 |
On 16/01/2017 09:40, Peter Xu wrote:
> v4:
> - do unref of flatview when no view is there [Dave]
>
> v3:
> - rather than dump flatview directly in "info mtree", provide a new
> parameter "-f" for it. [Paolo]
> - replace "RW" chars with the type of memory region [Paolo]
> - (cc dave as well since it touches HMP interface)
>
> v2:
> - fix a size error in patch 2
> - add r-b for Marc-André in patch 1
>
> Each address space has its own flatview. It's another way to observe
> memory info besides the default memory region hierachy, for example,
> if we want to know which memory region will handle the write to
> specific address, a flatview will suite more here than the default
> hierachical dump.
>
> Please review. Thanks,
>
> Peter Xu (2):
> memory: tune mtree_print_mr() to dump mr type
> memory: hmp: add "-f" for "info mtree"
>
> hmp-commands-info.hx | 6 ++--
> include/exec/memory.h | 2 +-
> memory.c | 89
> ++++++++++++++++++++++++++++++++++++++-------------
> monitor.c | 4 ++-
> 4 files changed, 74 insertions(+), 27 deletions(-)
>
Queued, thanks.
Paolo