aboutsummaryrefslogtreecommitdiff
path: root/docs/qmp
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2015-05-20 12:16:15 +0200
committerJuan Quintela <quintela@redhat.com>2015-07-07 14:54:55 +0200
commit598cd2bda0845096d2f06500e45b4d0d399b384a (patch)
treee91296ffe50a49424514c552ee39b8c1f6024458 /docs/qmp
parentf2bb932491185a39922dff0514c4b08c092f3c35 (diff)
downloadqemu-598cd2bda0845096d2f06500e45b4d0d399b384a.zip
qemu-598cd2bda0845096d2f06500e45b4d0d399b384a.tar.gz
qemu-598cd2bda0845096d2f06500e45b4d0d399b384a.tar.bz2
migration: create migration event
We have one argument that tells us what event has happened. Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'docs/qmp')
-rw-r--r--docs/qmp/qmp-events.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/qmp/qmp-events.txt b/docs/qmp/qmp-events.txt
index 4c13d48..d92cc48 100644
--- a/docs/qmp/qmp-events.txt
+++ b/docs/qmp/qmp-events.txt
@@ -473,6 +473,20 @@ Example:
{ "timestamp": {"seconds": 1290688046, "microseconds": 417172},
"event": "SPICE_MIGRATE_COMPLETED" }
+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"}}
STOP
----