aboutsummaryrefslogtreecommitdiff
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
parent3aa4c6cd3932f5606f2faa59e5d7a45fe12417bb (diff)
downloadqemu-b4f65cd27a049632e77e258bb7503d49a9c54a70.zip
qemu-b4f65cd27a049632e77e258bb7503d49a9c54a70.tar.gz
qemu-b4f65cd27a049632e77e258bb7503d49a9c54a70.tar.bz2
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>
-rw-r--r--docs/qmp-commands.txt15
-rw-r--r--qapi-schema.json6
2 files changed, 6 insertions, 15 deletions
diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt
index ceee41f..33fa51e 100644
--- a/docs/qmp-commands.txt
+++ b/docs/qmp-commands.txt
@@ -2405,21 +2405,6 @@ Example:
Note: This example has been shortened as the real response is too long.
-query-kvm
----------
-
-Show KVM information.
-
-Return a json-object with the following information:
-
-- "enabled": true if KVM support is enabled, false otherwise (json-bool)
-- "present": true if QEMU has KVM support, false otherwise (json-bool)
-
-Example:
-
--> { "execute": "query-kvm" }
-<- { "return": { "enabled": true, "present": true } }
-
query-status
------------
diff --git a/qapi-schema.json b/qapi-schema.json
index e6d7063..f7ac9f0 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' }