summary refs log tree commit diff stats
path: root/hmp-commands-info.hx
diff options
context:
space:
mode:
authorAlexey Kardashevskiy <aik@ozlabs.ru>2017-09-21 18:51:06 +1000
committerPaolo Bonzini <pbonzini@redhat.com>2017-09-21 23:19:38 +0200
commit5e8fd947e2670c3c18f139de6a83fafcb56abbcc (patch)
tree217c4d74ee2446675d016cab1653aba70a63084c /hmp-commands-info.hx
parent67ace39b253ed5ae465275bc870f7e495547658b (diff)
downloadfocaccia-qemu-5e8fd947e2670c3c18f139de6a83fafcb56abbcc.tar.gz
focaccia-qemu-5e8fd947e2670c3c18f139de6a83fafcb56abbcc.zip
memory: Rework "info mtree" to print flat views and dispatch trees
This adds a new "-d" switch to "info mtree" to print dispatch tree
internals.

This changes the way "-f" is handled - it prints now flat views and
associated address spaces.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Message-Id: <20170921085110.25598-15-aik@ozlabs.ru>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hmp-commands-info.hx')
-rw-r--r--hmp-commands-info.hx7
1 files changed, 4 insertions, 3 deletions
diff --git a/hmp-commands-info.hx b/hmp-commands-info.hx
index 1c6772597d..4f1ece93e5 100644
--- a/hmp-commands-info.hx
+++ b/hmp-commands-info.hx
@@ -250,9 +250,10 @@ ETEXI
 
     {
         .name       = "mtree",
-        .args_type  = "flatview:-f",
-        .params     = "[-f]",
-        .help       = "show memory tree (-f: dump flat view for address spaces)",
+        .args_type  = "flatview:-f,dispatch_tree:-d",
+        .params     = "[-f][-d]",
+        .help       = "show memory tree (-f: dump flat view for address spaces;"
+                      "-d: dump dispatch tree, valid with -f only)",
         .cmd        = hmp_info_mtree,
     },