aboutsummaryrefslogtreecommitdiff
path: root/qmp-commands.hx
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-03-22 12:51:11 +0100
committerLuiz Capitulino <lcapitulino@redhat.com>2012-03-27 09:15:28 -0300
commitb9f8978cc428559c684df88ed69b709e33ba17dc (patch)
treefd1a220f3900c98181e5e83025be1e20db1e7445 /qmp-commands.hx
parente38ac9621c8ab51880b9e6e833a125342d6b46b2 (diff)
downloadqemu-b9f8978cc428559c684df88ed69b709e33ba17dc.zip
qemu-b9f8978cc428559c684df88ed69b709e33ba17dc.tar.gz
qemu-b9f8978cc428559c684df88ed69b709e33ba17dc.tar.bz2
qmp: add and use q type specifier
"O" is being used by the transaction and qom-set commands to mean "any QObject", but it really means "do not validate the argument list". Add a new specifier with the correct meaning. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-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.hx4
1 files changed, 2 insertions, 2 deletions
diff --git a/qmp-commands.hx b/qmp-commands.hx
index c626ba8..9447871 100644
--- a/qmp-commands.hx
+++ b/qmp-commands.hx
@@ -708,7 +708,7 @@ EQMP
},
{
.name = "transaction",
- .args_type = "actions:O",
+ .args_type = "actions:q",
.mhandler.cmd_new = qmp_marshal_input_transaction,
},
@@ -2125,7 +2125,7 @@ EQMP
{
.name = "qom-set",
- .args_type = "path:s,property:s,opts:O",
+ .args_type = "path:s,property:s,value:q",
.mhandler.cmd_new = qmp_qom_set,
},