From bce911ce263e78d13fad5415881a5310ead6c73f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marc-Andr=C3=A9=20Lureau?= Date: Thu, 23 Jun 2016 16:33:23 +0200 Subject: [PATCH] qmp-events: move 'MIGRATION' doc to schema MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Marc-André Lureau Signed-off-by: Markus Armbruster --- docs/qmp-events.txt | 15 --------------- qapi/event.json | 7 +++++++ 2 files changed, 7 insertions(+), 15 deletions(-) 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'}} -- 2.39.2