qemu-patch-raspberry4/include/migration
Dr. David Alan Gilbert b82fc321bf Postcopy+spice: Pass spice migration data earlier
Spice hooks the migration status changes to figure out when to
transmit information to the new spice server; but the migration
status in postcopy doesn't quite fit - the destination starts
running before the end of the source migration.

It's not a case of hanging off the migration status change to
postcopy-active either, since that happens before we stop the
guest CPU.

Fix it by sending a notify just after sending the device state,
and adding a flag that can be tested by the notify receiver.

Symptom:
   spice handover doesn't work with the error:
   red_worker.c:11540:display_channel_wait_for_migrate_data: timeout

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Amit Shah <amit.shah@redhat.com>
Message-id: 1456161452-25318-1-git-send-email-dgilbert@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2016-02-23 12:05:02 +01:00
..
block.h migration: move include files to include/migration/ 2012-12-19 08:31:32 +01:00
migration.h Postcopy+spice: Pass spice migration data earlier 2016-02-23 12:05:02 +01:00
page_cache.h xbzrle: optimize XBZRLE to decrease the cache misses 2015-01-15 17:49:43 +05:30
postcopy-ram.h Postcopy: Mark nohugepage before discard 2015-11-10 15:00:28 +01:00
qemu-file.h Return path: Open a return path on QEMUFile for sockets 2015-11-10 14:51:49 +01:00
vmstate.h Fix virtio migration 2016-02-04 19:53:02 +02:00