mirror of
https://github.com/qemu/qemu.git
synced 2024-11-24 03:13:44 +08:00
qmp-commands: move 'query-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
bc7e260271
commit
f504e3dc21
@ -2193,25 +2193,6 @@ Example:
|
||||
]
|
||||
}
|
||||
|
||||
query-balloon
|
||||
-------------
|
||||
|
||||
Show balloon information.
|
||||
|
||||
Make an asynchronous request for balloon info. When the request completes a
|
||||
json-object will be returned containing the following data:
|
||||
|
||||
- "actual": current balloon value in bytes (json-int)
|
||||
|
||||
Example:
|
||||
|
||||
-> { "execute": "query-balloon" }
|
||||
<- {
|
||||
"return":{
|
||||
"actual":1073741824,
|
||||
}
|
||||
}
|
||||
|
||||
query-tpm
|
||||
---------
|
||||
|
||||
|
@ -1793,11 +1793,22 @@
|
||||
# Return information about the balloon device.
|
||||
#
|
||||
# Returns: @BalloonInfo 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
|
||||
#
|
||||
# Since: 0.14.0
|
||||
#
|
||||
# Example:
|
||||
#
|
||||
# -> { "execute": "query-balloon" }
|
||||
# <- { "return": {
|
||||
# "actual": 1073741824,
|
||||
# }
|
||||
# }
|
||||
#
|
||||
##
|
||||
{ 'command': 'query-balloon', 'returns': 'BalloonInfo' }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user