mirror of https://github.com/xemu-project/xemu.git
qmp-events: move 'MIGRATION' doc to schema
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
This commit is contained in:
parent
e6bcb080f9
commit
bce911ce26
|
@ -131,21 +131,6 @@ Flush operation:
|
||||||
|
|
||||||
Note: this event is rate-limited.
|
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
|
MIGRATION_PASS
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
|
|
|
@ -410,6 +410,13 @@
|
||||||
# @status: @MigrationStatus describing the current migration status.
|
# @status: @MigrationStatus describing the current migration status.
|
||||||
#
|
#
|
||||||
# Since: 2.4
|
# Since: 2.4
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
#
|
||||||
|
# <- {"timestamp": {"seconds": 1432121972, "microseconds": 744001},
|
||||||
|
# "event": "MIGRATION",
|
||||||
|
# "data": {"status": "completed"} }
|
||||||
|
#
|
||||||
##
|
##
|
||||||
{ 'event': 'MIGRATION',
|
{ 'event': 'MIGRATION',
|
||||||
'data': {'status': 'MigrationStatus'}}
|
'data': {'status': 'MigrationStatus'}}
|
||||||
|
|
Loading…
Reference in New Issue