aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/qmp-events.txt19
-rw-r--r--qapi/event.json9
2 files changed, 9 insertions, 19 deletions
diff --git a/docs/qmp-events.txt b/docs/qmp-events.txt
index 2c7eccf1c3..9f6415d218 100644
--- a/docs/qmp-events.txt
+++ b/docs/qmp-events.txt
@@ -1,25 +1,6 @@
QEMU Machine Protocol Events
============================
-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
-
-Data:
-
-- "actual": actual level of the guest memory balloon in bytes (json-number)
-
-Example:
-
-{ "event": "BALLOON_CHANGE",
- "data": { "actual": 944766976 },
- "timestamp": { "seconds": 1267020223, "microseconds": 435656 } }
-
-Note: this event is rate-limited.
-
DUMP_COMPLETED
--------------
diff --git a/qapi/event.json b/qapi/event.json
index e8e4edd364..c50147bbb5 100644
--- a/qapi/event.json
+++ b/qapi/event.json
@@ -461,7 +461,16 @@
#
# @actual: actual level of the guest memory balloon in bytes
#
+# Note: this event is rate-limited.
+#
# Since: 1.2
+#
+# Example:
+#
+# <- { "event": "BALLOON_CHANGE",
+# "data": { "actual": 944766976 },
+# "timestamp": { "seconds": 1267020223, "microseconds": 435656 } }
+#
##
{ 'event': 'BALLOON_CHANGE',
'data': { 'actual': 'int' } }