aboutsummaryrefslogtreecommitdiff
path: root/qapi-event.json
diff options
context:
space:
mode:
authorWenchao Xia <wenchaoqemu@gmail.com>2014-06-18 08:43:51 +0200
committerLuiz Capitulino <lcapitulino@redhat.com>2014-06-23 11:12:28 -0400
commitaef9d3115fbaf2b1b904e333b46fe2b070fcbe96 (patch)
tree9bd4bd0179c4f542f1fe856553e279a9212e6b16 /qapi-event.json
parent5f41fbba903fc4e55b94c54cd97ea2d904371351 (diff)
qapi event: convert BALLOON_CHANGE
Signed-off-by: Wenchao Xia <wenchaoqemu@gmail.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'qapi-event.json')
-rw-r--r--qapi-event.json13
1 files changed, 13 insertions, 0 deletions
diff --git a/qapi-event.json b/qapi-event.json
index 5188a723c1..b7438d5877 100644
--- a/qapi-event.json
+++ b/qapi-event.json
@@ -253,3 +253,16 @@
##
{ 'event': 'ACPI_DEVICE_OST',
'data': { 'info': 'ACPIOSTInfo' } }
+
+##
+# @BALLOON_CHANGE
+#
+# Emitted when the guest changes the actual BALLOON level. This value is
+# equivalent to the @actual field return by the 'query-balloon' command
+#
+# @actual: actual level of the guest memory balloon in bytes
+#
+# Since: 1.2
+##
+{ 'event': 'BALLOON_CHANGE',
+ 'data': { 'actual': 'int' } }