From 8b0ffce442b9dbfaac65aa4eccdc4cdf5dc0203b Mon Sep 17 00:00:00 2001 From: Marc-André Lureau Date: Thu, 23 Jun 2016 15:10:40 +0200 Subject: qmp-commands: move 'query-commands' doc to schema MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marc-André Lureau Signed-off-by: Markus Armbruster --- qapi/common.json | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'qapi') 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'] } -- cgit 1.4.1