qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 06/30] qmp-commands: move 'balloon' doc to schema


From: Marc-André Lureau
Subject: [Qemu-devel] [PATCH 06/30] qmp-commands: move 'balloon' doc to schema
Date: Thu, 22 Sep 2016 13:22:41 +0400

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

diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt
index 18a15dc..dadcc20 100644
--- a/docs/qmp-commands.txt
+++ b/docs/qmp-commands.txt
@@ -1060,20 +1060,6 @@ Arguments:
 Returns: Nothing on success
          If "device" does not exist or cannot be determined, DeviceNotFound
 
-balloon
--------
-
-Request VM to change its memory allocation (in bytes).
-
-Arguments:
-
-- "value": New memory allocation (json-int)
-
-Example:
-
--> { "execute": "balloon", "arguments": { "value": 536870912 } }
-<- { "return": {} }
-
 getfd
 -----
 
diff --git a/qapi-schema.json b/qapi-schema.json
index 958b097..a8383bf 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -2292,6 +2292,12 @@
 #        size independent of this command.
 #
 # Since: 0.14.0
+#
+# Example:
+#
+# -> { "execute": "balloon", "arguments": { "value": 536870912 } }
+# <- { "return": {} }
+#
 ##
 { 'command': 'balloon', 'data': {'value': 'int'} }
 
-- 
2.10.0




reply via email to

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