mirror of
https://github.com/mii443/qemu.git
synced 2025-08-22 15:15:46 +00:00
migration: Route errors down through migration_channel_connect
Route async errors (especially from sockets) down through migration_channel_connect and on to migrate_fd_connect where they can be cleaned up. 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> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
This commit is contained in:
@ -39,7 +39,7 @@ void exec_start_outgoing_migration(MigrationState *s, const char *command, Error
|
||||
}
|
||||
|
||||
qio_channel_set_name(ioc, "migration-exec-outgoing");
|
||||
migration_channel_connect(s, ioc, NULL);
|
||||
migration_channel_connect(s, ioc, NULL, NULL);
|
||||
object_unref(OBJECT(ioc));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user