qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 03/30] qmp-commands: move 'query-kvm' doc to schema


From: Marc-André Lureau
Subject: [Qemu-devel] [PATCH 03/30] qmp-commands: move 'query-kvm' doc to schema
Date: Tue, 13 Sep 2016 17:01:42 +0400

Signed-off-by: Marc-André Lureau <address@hidden>
---
 docs/qmp-commands.txt | 15 ---------------
 qapi-schema.json      | 10 ++++++++--
 2 files changed, 8 insertions(+), 17 deletions(-)

diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt
index 4c9ccfb..2e78d60 100644
--- a/docs/qmp-commands.txt
+++ b/docs/qmp-commands.txt
@@ -2388,21 +2388,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 accb28b..b013b39 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -128,7 +128,7 @@
 ##
 # @KvmInfo:
 #
-# Information about support for KVM acceleration
+# Information about support for KVM acceleration.
 #
 # @enabled: true if KVM acceleration is active
 #
@@ -141,11 +141,17 @@
 ##
 # @query-kvm:
 #
-# Returns information about KVM acceleration
+# Returns information about KVM acceleration.
 #
 # Returns: @KvmInfo
 #
 # Since: 0.14.0
+#
+# Example:
+#
+# -> { "execute": "query-kvm" }
+# <- { "return": { "enabled": true, "present": true } }
+#
 ##
 { 'command': 'query-kvm', 'returns': 'KvmInfo' }
 
-- 
2.10.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]