diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-06-23 16:45:54 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-01-16 09:19:50 +0100 |
commit | 231aaf3a8217443b518221719d1073c08f367225 (patch) | |
tree | 9f3137b89487655a9db85345e830d03c79844216 | |
parent | a102a4acad6c1bc94942efbec18cf7f20bdac40e (diff) |
qmp-events: move 'MIGRATION_PASS' 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 | 16 | ||||
-rw-r--r-- | qapi/event.json | 6 |
2 files changed, 6 insertions, 16 deletions
diff --git a/docs/qmp-events.txt b/docs/qmp-events.txt deleted file mode 100644 index d84be5fdd4..0000000000 --- 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 9d1c2f9fe4..f3737b771f 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' } } |