summaryrefslogtreecommitdiff
path: root/qapi-schema.json
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-06-23 11:40:02 +0200
committerMarkus Armbruster <armbru@redhat.com>2017-01-16 09:15:27 +0100
commitf504e3dc21bb76ef7766cc99390defb200faa893 (patch)
tree0ea9a80bac8c7eb13c6010607c6bde8b2556b7da /qapi-schema.json
parentbc7e260271f98d44006d4e14bcb05647b8f2606e (diff)
downloadqemu-f504e3dc21bb76ef7766cc99390defb200faa893.tar.gz
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>
Diffstat (limited to 'qapi-schema.json')
-rw-r--r--qapi-schema.json11
1 files changed, 11 insertions, 0 deletions
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' }