aboutsummaryrefslogtreecommitdiff
path: root/qapi-schema.json
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2011-09-21 14:31:51 -0300
committerLuiz Capitulino <lcapitulino@redhat.com>2011-10-04 11:02:57 -0300
commitaa9b79bcd813b399ad13e13b5db4e8b2e8787e4c (patch)
tree31ca779e13e374c9a275aa8f44c80809bfff968a /qapi-schema.json
parentc5a415a0afddbc217263b62a8e87d8ec9e7f760f (diff)
downloadqemu-aa9b79bcd813b399ad13e13b5db4e8b2e8787e4c.zip
qemu-aa9b79bcd813b399ad13e13b5db4e8b2e8787e4c.tar.gz
qemu-aa9b79bcd813b399ad13e13b5db4e8b2e8787e4c.tar.bz2
qapi: Convert query-commands
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'qapi-schema.json')
-rw-r--r--qapi-schema.json23
1 files changed, 23 insertions, 0 deletions
diff --git a/qapi-schema.json b/qapi-schema.json
index cf55504..35434c1 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -202,3 +202,26 @@
# Since: 0.14.0
##
{ 'command': 'query-chardev', 'returns': ['ChardevInfo'] }
+
+##
+# @CommandInfo:
+#
+# Information about a QMP command
+#
+# @name: The command name
+#
+# Since: 0.14.0
+##
+{ 'type': 'CommandInfo', 'data': {'name': 'str'} }
+
+##
+# @query-commands:
+#
+# Return a list of supported QMP commands by this server
+#
+# Returns: A list of @CommandInfo for all supported commands
+#
+# Since: 0.14.0
+##
+{ 'command': 'query-commands', 'returns': ['CommandInfo'] }
+