From: Marc-André Lureau Date: Thu, 23 Jun 2016 14:45:54 +0000 (+0200) Subject: qmp-events: move 'MIGRATION_PASS' doc to schema X-Git-Tag: v2.9.0-rc0~148^2~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=231aaf3a8217443b518221719d1073c08f367225;p=thirdparty%2Fqemu.git qmp-events: move 'MIGRATION_PASS' 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 deleted file mode 100644 index d84be5fdd48..00000000000 --- a/docs/qmp-events.txt +++ /dev/null @@ -1,16 +0,0 @@ - QEMU Machine Protocol Events - ============================ - -MIGRATION_PASS --------------- - -Emitted from the source side of a migration at the start of each pass -(when it syncs the dirty bitmap) - -Data: None. - - - "pass": An incrementing count (starting at 1 on the first pass) - -Example: -{"timestamp": {"seconds": 1449669631, "microseconds": 239225}, - "event": "MIGRATION_PASS", "data": {"pass": 2}} diff --git a/qapi/event.json b/qapi/event.json index 9d1c2f9fe4e..f3737b771fd 100644 --- a/qapi/event.json +++ b/qapi/event.json @@ -430,6 +430,12 @@ # @pass: An incrementing count (starting at 1 on the first pass) # # Since: 2.6 +# +# Example: +# +# { "timestamp": {"seconds": 1449669631, "microseconds": 239225}, +# "event": "MIGRATION_PASS", "data": {"pass": 2} } +# ## { 'event': 'MIGRATION_PASS', 'data': { 'pass': 'int' } }