aboutsummaryrefslogtreecommitdiff
path: root/qapi/common.json
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-06-23 15:10:40 +0200
committerMarkus Armbruster <armbru@redhat.com>2017-01-16 09:19:47 +0100
commit8b0ffce442b9dbfaac65aa4eccdc4cdf5dc0203b (patch)
tree5f0bcb6c76296b99dc60c5b60e73e807fe3fc5c7 /qapi/common.json
parentdd746afbb43989064cb98d2448d066da2e156aa8 (diff)
downloadqemu-8b0ffce442b9dbfaac65aa4eccdc4cdf5dc0203b.zip
qemu-8b0ffce442b9dbfaac65aa4eccdc4cdf5dc0203b.tar.gz
qemu-8b0ffce442b9dbfaac65aa4eccdc4cdf5dc0203b.tar.bz2
qmp-commands: move 'query-commands' doc to schema
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'qapi/common.json')
-rw-r--r--qapi/common.json17
1 files changed, 17 insertions, 0 deletions
diff --git a/qapi/common.json b/qapi/common.json
index d6a6d76..b626647 100644
--- a/qapi/common.json
+++ b/qapi/common.json
@@ -114,6 +114,23 @@
# Returns: A list of @CommandInfo for all supported commands
#
# Since: 0.14.0
+#
+# Example:
+#
+# -> { "execute": "query-commands" }
+# <- {
+# "return":[
+# {
+# "name":"query-balloon"
+# },
+# {
+# "name":"system_powerdown"
+# }
+# ]
+# }
+#
+# Note: This example has been shortened as the real response is too long.
+#
##
{ 'command': 'query-commands', 'returns': ['CommandInfo'] }