From: Marc-André Lureau Date: Thu, 23 Jun 2016 14:33:23 +0000 (+0200) Subject: qmp-events: move 'MIGRATION' doc to schema X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=bce911ce263e78d13fad5415881a5310ead6c73f;p=qemu.git qmp-events: move 'MIGRATION' 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 0574a217c4..d61ab1dabc 100644 --- a/docs/qmp-events.txt +++ b/docs/qmp-events.txt @@ -131,21 +131,6 @@ Flush operation: Note: this event is rate-limited. -MIGRATION ---------- - -Emitted when a migration event happens - -Data: None. - - - "status": migration status - See MigrationStatus in ~/qapi-schema.json for possible values - -Example: - -{"timestamp": {"seconds": 1432121972, "microseconds": 744001}, - "event": "MIGRATION", "data": {"status": "completed"}} - MIGRATION_PASS -------------- diff --git a/qapi/event.json b/qapi/event.json index 5484324664..ebf45cf7ed 100644 --- a/qapi/event.json +++ b/qapi/event.json @@ -410,6 +410,13 @@ # @status: @MigrationStatus describing the current migration status. # # Since: 2.4 +# +# Example: +# +# <- {"timestamp": {"seconds": 1432121972, "microseconds": 744001}, +# "event": "MIGRATION", +# "data": {"status": "completed"} } +# ## { 'event': 'MIGRATION', 'data': {'status': 'MigrationStatus'}}