Skip to content

memory: extend "info mtree" with flat view dump

Peter Xu qemu-devel 4 versions – Applied

Status from this message: Queued, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 3 repliesApplied
  2. v32 patches 2 repliesSuperseded
  3. v22 patches 9 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v12 patches3 repliesSuperseded

Changes in v4 from the cover letter

- do unref of flatview when no view is there [Dave]

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/2memory: tune mtree_print_mr() to dump mr typememory.c+27 -211 reply
2/2memory: hmp: add "-f" for "info mtree"hmp-commands-info.hx include/exec/memory.h memory.c +1 more+47 -61 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchDr. David Alan Gilbert
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [Qemu-devel] [PATCH v4 0/2] memory: extend "info mtree" with flat view dump

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(-)
Signature · 1 line
2.7.4