diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2011-11-25 14:38:09 -0200 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2011-12-06 11:40:01 -0200 |
commit | d72f326431e280a619a0fd55e27d3737747f8178 (patch) | |
tree | 14ae3162f13447b2a702974d9df5f830a538ff67 /qapi-schema.json | |
parent | a4dea8a9f4e0a4a863e5f3b366350fd697552d8a (diff) | |
download | qemu-d72f326431e280a619a0fd55e27d3737747f8178.zip qemu-d72f326431e280a619a0fd55e27d3737747f8178.tar.gz qemu-d72f326431e280a619a0fd55e27d3737747f8178.tar.bz2 |
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 569aa74..9bfdc39 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'} } |