diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-06-23 15:10:40 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-01-16 09:19:47 +0100 |
commit | 8b0ffce442b9dbfaac65aa4eccdc4cdf5dc0203b (patch) | |
tree | 5f0bcb6c76296b99dc60c5b60e73e807fe3fc5c7 /qapi | |
parent | dd746afbb43989064cb98d2448d066da2e156aa8 (diff) |
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')
-rw-r--r-- | qapi/common.json | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/qapi/common.json b/qapi/common.json index d6a6d76176..b626647b2f 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'] } |