Currently migrate_close() also closes the repair socket. That means if this was a failed migration we prevent any future attempt at migration. That probably won't work at the moment for other reasons, but we shouldn't specifically preclude it. Signed-off-by: David Gibson <david(a)gibson.dropbear.id.au> --- migrate.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/migrate.c b/migrate.c index 1c590160..ea4dc4a2 100644 --- a/migrate.c +++ b/migrate.c @@ -244,8 +244,6 @@ void migrate_close(struct ctx *c) c->device_state_fd = -1; c->device_state_result = -1; } - - repair_close(c); } /** -- 2.48.1