Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com> --- 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