qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 23/30] qmp-commands: move 'query-balloon' doc to sch


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

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

diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt
index 3b7af3b..0b69f3d 100644
--- a/docs/qmp-commands.txt
+++ b/docs/qmp-commands.txt
@@ -2177,25 +2177,6 @@ Example:
      ]
    }
 
-query-balloon
--------------
-
-Show balloon information.
-
-Make an asynchronous request for balloon info. When the request completes a
-json-object will be returned containing the following data:
-
-- "actual": current balloon value in bytes (json-int)
-
-Example:
-
--> { "execute": "query-balloon" }
-<- {
-      "return":{
-         "actual":1073741824,
-      }
-   }
-
 query-tpm
 ---------
 
diff --git a/qapi-schema.json b/qapi-schema.json
index 389eb9a..4b66a36 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -1708,11 +1708,22 @@
 # Return information about the balloon device.
 #
 # Returns: @BalloonInfo on success
+#
 #          If the balloon driver is enabled but not functional because the KVM
 #          kernel module cannot support it, KvmMissingCap
+#
 #          If no balloon device is present, DeviceNotActive
 #
 # Since: 0.14.0
+#
+# Example:
+#
+# -> { "execute": "query-balloon" }
+# <- { "return": {
+#          "actual": 1073741824,
+#       }
+#    }
+#
 ##
 { 'command': 'query-balloon', 'returns': 'BalloonInfo' }
 
-- 
2.10.0




reply via email to

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