[PULL 10/18] migration: Postpone releasing MigrationState.hostname

2022-04-21 Thread Dr. David Alan Gilbert (git)
From: Peter Xu We used to release it right after migrate_fd_connect(). That's not good enough when there're more than one socket pair required, because it'll be needed to establish TLS connection for the rest channels. One example is multifd, where we copied over the hostname for each channel

[PULL 10/18] migration: Postpone releasing MigrationState.hostname

2022-04-21 Thread Dr. David Alan Gilbert (git)
From: Peter Xu We used to release it right after migrate_fd_connect(). That's not good enough when there're more than one socket pair required, because it'll be needed to establish TLS connection for the rest channels. One example is multifd, where we copied over the hostname for each channel