Start up a postcopy/listener thread ready for incoming page data
commitc76201ab52b1dd53823cd81449d17b72224f1623
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Thu, 5 Nov 2015 18:11:18 +0000 (5 18:11 +0000)
committerJuan Quintela <quintela@redhat.com>
Tue, 10 Nov 2015 14:00:28 +0000 (10 15:00 +0100)
tree2fd45f9768cb9fe05975d87b6d01459f6f2c8ee4
parentc4faeed2313e2bf9aa3694544bd211c15e28c164
Start up a postcopy/listener thread ready for incoming page data

The loading of a device state (during postcopy) may access guest
memory that's still on the source machine and thus might need
a page fill; split off a separate thread that handles the incoming
page data so that the original incoming migration code can finish
off the device data.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
include/migration/migration.h
migration/migration.c
migration/savevm.c
trace-events