From 7b338db7ef58619db0a43d464d3cfe07e6ea0e3b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marc-Andr=C3=A9=20Lureau?= Date: Thu, 23 Jun 2016 13:10:30 +0200 Subject: [PATCH] qmp-commands: move 'balloon' doc to schema MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Marc-André Lureau Signed-off-by: Markus Armbruster --- 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 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'} } -- 2.30.2