diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-06-23 16:34:34 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-01-16 09:19:49 +0100 |
commit | a030dc00295438c56498032e93af42b19cbc94fb (patch) | |
tree | c62b70cd73a8985dcf62632f4c104e3d9ac87454 | |
parent | 622b3a6a51ee6ecfd14f78a2b013c17b0e7c05fc (diff) | |
download | qemu-a030dc00295438c56498032e93af42b19cbc94fb.zip qemu-a030dc00295438c56498032e93af42b19cbc94fb.tar.gz qemu-a030dc00295438c56498032e93af42b19cbc94fb.tar.bz2 |
qmp-events: move 'BALLOON_CHANGE' doc to schema
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
-rw-r--r-- | docs/qmp-events.txt | 19 | ||||
-rw-r--r-- | qapi/event.json | 9 |
2 files changed, 9 insertions, 19 deletions
diff --git a/docs/qmp-events.txt b/docs/qmp-events.txt index 2c7eccf..9f6415d 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 e8e4edd..c50147b 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' } } |