aboutsummaryrefslogtreecommitdiff
path: root/qapi-schema.json
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-06-23 10:07:57 +0200
committerMarkus Armbruster <armbru@redhat.com>2017-01-16 09:15:25 +0100
commitb4f65cd27a049632e77e258bb7503d49a9c54a70 (patch)
treee4bd1e8fe67f6dc6e1b247060ec55d34f8c99ea1 /qapi-schema.json
parent3aa4c6cd3932f5606f2faa59e5d7a45fe12417bb (diff)
qmp-commands: move 'query-kvm' 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-schema.json')
-rw-r--r--qapi-schema.json6
1 files changed, 6 insertions, 0 deletions
diff --git a/qapi-schema.json b/qapi-schema.json
index e6d7063bc4..f7ac9f09e3 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -150,6 +150,12 @@
# Returns: @KvmInfo
#
# Since: 0.14.0
+#
+# Example:
+#
+# -> { "execute": "query-kvm" }
+# <- { "return": { "enabled": true, "present": true } }
+#
##
{ 'command': 'query-kvm', 'returns': 'KvmInfo' }