diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2012-08-10 11:04:09 -0500 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2012-08-13 16:10:18 -0300 |
commit | 1daa31b9dbec60a7a06690749d73ddeeb35f506d (patch) | |
tree | 8918242290781a2db7707aac89a986e52d716ac2 /qmp-commands.hx | |
parent | 25df49f6eb113081f48fdb3a3dd17bf1c0b25600 (diff) | |
download | hqemu-1daa31b9dbec60a7a06690749d73ddeeb35f506d.zip hqemu-1daa31b9dbec60a7a06690749d73ddeeb35f506d.tar.gz |
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.hx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/qmp-commands.hx b/qmp-commands.hx index e07c7b0..e9e0410 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, + }, + |