migration: pause-before-switchover for postcopy
commit0331c8cabf6168aa263aa0b25f5e135b328606ac
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Fri, 20 Oct 2017 09:05:56 +0000 (20 10:05 +0100)
committerJuan Quintela <quintela@redhat.com>
Mon, 23 Oct 2017 16:03:33 +0000 (23 18:03 +0200)
tree9b8a3a5cc144dd9ec0ff0748f54e4ee4d7956b47
parenta7b36b486dd58d8f44f788a2a2efa6a4fa3b1223
migration: pause-before-switchover for postcopy

Add pause-before-switchover support for postcopy.
After starting postcopy it will transition
    active->pre-switchover->postcopy_active

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
migration/migration.c