mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
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>
This commit is contained in:
parent
6ba996bb45
commit
4addcd4fdc
3 changed files with 31 additions and 0 deletions
|
@ -254,6 +254,19 @@
|
|||
{ 'event': 'MIGRATION',
|
||||
'data': {'status': 'MigrationStatus'}}
|
||||
|
||||
##
|
||||
# @MIGRATION_PASS
|
||||
#
|
||||
# Emitted from the source side of a migration at the start of each pass
|
||||
# (when it syncs the dirty bitmap)
|
||||
#
|
||||
# @pass: An incrementing count (starting at 1 on the first pass)
|
||||
#
|
||||
# Since: 2.6
|
||||
##
|
||||
{ 'event': 'MIGRATION_PASS',
|
||||
'data': { 'pass': 'int' } }
|
||||
|
||||
##
|
||||
# @ACPI_DEVICE_OST
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue