mirror of https://gitee.com/openkylin/qemu.git
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>
This commit is contained in:
parent
f9cfb8f729
commit
7b338db7ef
|
@ -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
|
||||
-----
|
||||
|
||||
|
|
|
@ -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'} }
|
||||
|
||||
|
|
Loading…
Reference in New Issue