diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-06-23 15:09:51 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-01-16 09:19:47 +0100 |
commit | dd746afbb43989064cb98d2448d066da2e156aa8 (patch) | |
tree | f38f65134bed9ac809496c0afb5b195f24336f78 /qapi | |
parent | 5fba0a72ec1968debca8bb80732cc75aa7cd8a21 (diff) |
qmp-commands: move 'query-version' 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 | 15 |
1 files changed, 15 insertions, 0 deletions
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' } |