aboutsummaryrefslogtreecommitdiff
path: root/migration/savevm.c
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <dgilbert@redhat.com>2015-11-05 18:11:03 +0000
committerJuan Quintela <quintela@redhat.com>2015-11-10 15:00:27 +0100
commit1caddf8a819d83027d897997c0af10c426f88633 (patch)
tree13be324239b68e666dbf7b8630ef7b8bdcb1ce6b /migration/savevm.c
parente0b266f01dd21748c12f35e18e6f300035f2f336 (diff)
postcopy: Incoming initialisation
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Reviewed-by: Amit Shah <amit.shah@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'migration/savevm.c')
-rw-r--r--migration/savevm.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/migration/savevm.c b/migration/savevm.c
index 8f07abd1c6..674f0fb953 100644
--- a/migration/savevm.c
+++ b/migration/savevm.c
@@ -1281,6 +1281,12 @@ static int loadvm_postcopy_handle_advise(MigrationIncomingState *mis)
return -1;
}
+ if (ram_postcopy_incoming_init(mis)) {
+ return -1;
+ }
+
+ postcopy_state_set(POSTCOPY_INCOMING_ADVISE);
+
return 0;
}