aboutsummaryrefslogtreecommitdiff
path: root/qmp-commands.hx
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2012-08-10 11:04:09 -0500
committerLuiz Capitulino <lcapitulino@redhat.com>2012-08-13 16:10:18 -0300
commit1daa31b9dbec60a7a06690749d73ddeeb35f506d (patch)
tree8918242290781a2db7707aac89a986e52d716ac2 /qmp-commands.hx
parent25df49f6eb113081f48fdb3a3dd17bf1c0b25600 (diff)
qmp: introduce device-list-properties command
This can be used in conjunction with qom-list-types to determine the supported set of devices and their parameters. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'qmp-commands.hx')
-rw-r--r--qmp-commands.hx7
1 files changed, 7 insertions, 0 deletions
diff --git a/qmp-commands.hx b/qmp-commands.hx
index e07c7b0a9d..e9e0410384 100644
--- a/qmp-commands.hx
+++ b/qmp-commands.hx
@@ -2217,3 +2217,10 @@ EQMP
.args_type = "implements:s?,abstract:b?",
.mhandler.cmd_new = qmp_marshal_input_qom_list_types,
},
+
+ {
+ .name = "device-list-properties",
+ .args_type = "typename:s",
+ .mhandler.cmd_new = qmp_marshal_input_device_list_properties,
+ },
+