diff options
| author | Dr. David Alan Gilbert | 2015-12-16 12:47:36 +0100 |
|---|---|---|
| committer | Amit Shah | 2016-01-13 11:32:13 +0100 |
| commit | 4addcd4fdc94c369f4cd54f8e03396ff26fce34d (patch) | |
| tree | cfff579d69a5e91c1cc0ae954102e968ec3c70ba /docs | |
| parent | Postcopy: Send events/change state on incoming side (diff) | |
| download | qemu-4addcd4fdc94c369f4cd54f8e03396ff26fce34d.tar.gz qemu-4addcd4fdc94c369f4cd54f8e03396ff26fce34d.tar.xz qemu-4addcd4fdc94c369f4cd54f8e03396ff26fce34d.zip | |
Migration: Emit event at start of pass
Emit an event each time we sync the dirty bitmap on the source;
this helps libvirt use postcopy by giving it a kick when it
might be a good idea to start the postcopy.
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Amit Shah <amit.shah@redhat.com>
Message-Id: <1450266458-3178-5-git-send-email-dgilbert@redhat.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/qmp-events.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/qmp-events.txt b/docs/qmp-events.txt index d2f1ce497e..52eb7e2f5e 100644 --- a/docs/qmp-events.txt +++ b/docs/qmp-events.txt @@ -496,6 +496,20 @@ Example: {"timestamp": {"seconds": 1432121972, "microseconds": 744001}, "event": "MIGRATION", "data": {"status": "completed"}} +MIGRATION_PASS +-------------- + +Emitted from the source side of a migration at the start of each pass +(when it syncs the dirty bitmap) + +Data: None. + + - "pass": An incrementing count (starting at 1 on the first pass) + +Example: +{"timestamp": {"seconds": 1449669631, "microseconds": 239225}, + "event": "MIGRATION_PASS", "data": {"pass": 2}} + STOP ---- |
