diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-06-23 11:40:02 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-01-16 09:15:27 +0100 |
commit | f504e3dc21bb76ef7766cc99390defb200faa893 (patch) | |
tree | 0ea9a80bac8c7eb13c6010607c6bde8b2556b7da | |
parent | bc7e260271f98d44006d4e14bcb05647b8f2606e (diff) |
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>
-rw-r--r-- | docs/qmp-commands.txt | 19 | ||||
-rw-r--r-- | qapi-schema.json | 11 |
2 files changed, 11 insertions, 19 deletions
diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt index d018480a28..9445bd1349 100644 --- a/docs/qmp-commands.txt +++ b/docs/qmp-commands.txt @@ -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 --------- diff --git a/qapi-schema.json b/qapi-schema.json index 93e376b90a..f47d50c182 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -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' } |