aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-06-23 13:10:30 +0200
committerMarkus Armbruster <armbru@redhat.com>2017-01-16 09:15:28 +0100
commit7b338db7ef58619db0a43d464d3cfe07e6ea0e3b (patch)
treef935eef189039f7d0916e404579492b6345a53e5
parentf9cfb8f729dc11e387daa575ae193c0ad56c8a92 (diff)
qmp-commands: move 'balloon' 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.txt14
-rw-r--r--qapi-schema.json6
2 files changed, 6 insertions, 14 deletions
diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt
index 6038f5cc73..a6d3946eeb 100644
--- a/docs/qmp-commands.txt
+++ b/docs/qmp-commands.txt
@@ -1074,20 +1074,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 43b485e145..3a81d6accb 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -2379,6 +2379,12 @@
# size independent of this command.
#
# Since: 0.14.0
+#
+# Example:
+#
+# -> { "execute": "balloon", "arguments": { "value": 536870912 } }
+# <- { "return": {} }
+#
##
{ 'command': 'balloon', 'data': {'value': 'int'} }