From a030dc00295438c56498032e93af42b19cbc94fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Thu, 23 Jun 2016 16:34:34 +0200 Subject: qmp-events: move 'BALLOON_CHANGE' doc to schema MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marc-André Lureau Signed-off-by: Markus Armbruster --- docs/qmp-events.txt | 19 ------------------- qapi/event.json | 9 +++++++++ 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' } } -- cgit v1.2.3