From: Marc-André Lureau Date: Thu, 23 Jun 2016 14:34:34 +0000 (+0200) Subject: qmp-events: move 'BALLOON_CHANGE' doc to schema X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=a030dc00295438c56498032e93af42b19cbc94fb;p=qemu.git qmp-events: move 'BALLOON_CHANGE' doc to schema Signed-off-by: Marc-André Lureau Signed-off-by: Markus Armbruster --- 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' } }