From dd746afbb43989064cb98d2448d066da2e156aa8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Thu, 23 Jun 2016 15:09:51 +0200 Subject: qmp-commands: move 'query-version' 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 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'qapi/common.json') diff --git a/qapi/common.json b/qapi/common.json index d93f159946..d6a6d76176 100644 --- a/qapi/common.json +++ b/qapi/common.json @@ -77,6 +77,21 @@ # Returns: A @VersionInfo object describing the current version of QEMU. # # Since: 0.14.0 +# +# Example: +# +# -> { "execute": "query-version" } +# <- { +# "return":{ +# "qemu":{ +# "major":0, +# "minor":11, +# "micro":5 +# }, +# "package":"" +# } +# } +# ## { 'command': 'query-version', 'returns': 'VersionInfo' } -- cgit v1.2.3