aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'migration-unix.c')
-rw-r--r--migration-unix.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/migration-unix.c b/migration-unix.c
index a26587a3e..25cd6d3d2 100644
--- a/migration-unix.c
+++ b/migration-unix.c
@@ -77,7 +77,9 @@ static void unix_wait_for_connect(void *opaque)
MigrationState *unix_start_outgoing_migration(const char *path,
int64_t bandwidth_limit,
- int detach)
+ int detach,
+ int blk,
+ int inc)
{
FdMigrationState *s;
struct sockaddr_un addr;
@@ -95,6 +97,9 @@ MigrationState *unix_start_outgoing_migration(const char *path,
s->mig_state.get_status = migrate_fd_get_status;
s->mig_state.release = migrate_fd_release;
+ s->mig_state.blk = blk;
+ s->mig_state.shared = inc;
+
s->state = MIG_STATE_ACTIVE;
s->mon_resume = NULL;
s->bandwidth_limit = bandwidth_limit;