diff options
-rw-r--r-- | docs/qmp-events.txt | 15 | ||||
-rw-r--r-- | 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'}} |