diff options
| author | Luiz Capitulino | 2011-11-25 17:38:09 +0100 |
|---|---|---|
| committer | Luiz Capitulino | 2011-12-06 14:40:01 +0100 |
| commit | d72f326431e280a619a0fd55e27d3737747f8178 (patch) | |
| tree | 14ae3162f13447b2a702974d9df5f830a538ff67 /qapi-schema.json | |
| parent | qapi: Convert block_passwd (diff) | |
| download | qemu-d72f326431e280a619a0fd55e27d3737747f8178.tar.gz qemu-d72f326431e280a619a0fd55e27d3737747f8178.tar.xz qemu-d72f326431e280a619a0fd55e27d3737747f8178.zip | |
qapi: Convert balloon
Note that the command being dropped uses the deprecated MONITOR_CMD_ASYNC
API, but the new command is a regular synchronous command. There shouldn't
be visible differences though, as MONITOR_CMD_ASYNC is internal only.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'qapi-schema.json')
| -rw-r--r-- | qapi-schema.json | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/qapi-schema.json b/qapi-schema.json index 569aa74a7c..9bfdc3938d 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -1032,3 +1032,23 @@ # Since: 0.14.0 ## { 'command': 'block_passwd', 'data': {'device': 'str', 'password': 'str'} } + +## +# @balloon: +# +# Request the balloon driver to change its balloon size. +# +# @value: the target size of the balloon in bytes +# +# Returns: Nothing on success +# If the balloon driver is enabled but not functional because the KVM +# kernel module cannot support it, KvmMissingCap +# If no balloon device is present, DeviceNotActive +# +# Notes: This command just issues a request to the guest. When it returns, +# the balloon size may not have changed. A guest can change the balloon +# size independent of this command. +# +# Since: 0.14.0 +## +{ 'command': 'balloon', 'data': {'value': 'int'} } |
