aboutsummaryrefslogtreecommitdiff
path: root/qmp-commands.hx
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2011-12-12 14:29:34 -0600
committerAnthony Liguori <aliguori@us.ibm.com>2011-12-15 09:20:48 -0600
commitb4b12c6247d89b94e197891fbadb2699fd469ed6 (patch)
treebc60736b89702107917198ffa2ab0c1d5ff3ea1e /qmp-commands.hx
parent5dbee474f352401efb404ff8dfb90a3ca90ce3d1 (diff)
downloadqemu-b4b12c6247d89b94e197891fbadb2699fd469ed6.zip
qemu-b4b12c6247d89b94e197891fbadb2699fd469ed6.tar.gz
qemu-b4b12c6247d89b94e197891fbadb2699fd469ed6.tar.bz2
qmp: add qom-list command
This can be used to list properties in the device model. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qmp-commands.hx')
-rw-r--r--qmp-commands.hx6
1 files changed, 6 insertions, 0 deletions
diff --git a/qmp-commands.hx b/qmp-commands.hx
index 002e7e8..c1f0718 100644
--- a/qmp-commands.hx
+++ b/qmp-commands.hx
@@ -2009,3 +2009,9 @@ EQMP
.args_type = "",
.mhandler.cmd_new = qmp_marshal_input_query_balloon,
},
+
+ {
+ .name = "qom-list",
+ .args_type = "path:s",
+ .mhandler.cmd_new = qmp_marshal_input_qom_list,
+ },