Searched hist:"48796 f6b44df1dd0f78d18757889d5ac478c33e4" (Results 1 – 3 of 3) sorted by relevance
/qemu/migration/ |
H A D | tls.h | 48796f6b44df1dd0f78d18757889d5ac478c33e4 Wed Feb 05 16:17:22 UTC 2025 Fabiano Rosas <farosas@suse.de> migration/multifd: Terminate the TLS connection
The multifd recv side has been getting a TLS error of GNUTLS_E_PREMATURE_TERMINATION at the end of migration when the send side closes the sockets without ending the TLS session. This has been masked by the code not checking the migration error after loadvm.
Start ending the TLS session at multifd_send_shutdown() so the recv side always sees a clean termination (EOF) and we can start to differentiate that from an actual premature termination that might possibly happen in the middle of the migration.
There's nothing to be done if a previous migration error has already broken the connection, so add a comment explaining it and ignore any errors coming from gnutls_bye().
This doesn't break compat with older recv-side QEMUs because EOF has always caused the recv thread to exit cleanly.
Reviewed-by: Peter Xu <peterx@redhat.com> Signed-off-by: Fabiano Rosas <farosas@suse.de>
|
H A D | tls.c | 48796f6b44df1dd0f78d18757889d5ac478c33e4 Wed Feb 05 16:17:22 UTC 2025 Fabiano Rosas <farosas@suse.de> migration/multifd: Terminate the TLS connection
The multifd recv side has been getting a TLS error of GNUTLS_E_PREMATURE_TERMINATION at the end of migration when the send side closes the sockets without ending the TLS session. This has been masked by the code not checking the migration error after loadvm.
Start ending the TLS session at multifd_send_shutdown() so the recv side always sees a clean termination (EOF) and we can start to differentiate that from an actual premature termination that might possibly happen in the middle of the migration.
There's nothing to be done if a previous migration error has already broken the connection, so add a comment explaining it and ignore any errors coming from gnutls_bye().
This doesn't break compat with older recv-side QEMUs because EOF has always caused the recv thread to exit cleanly.
Reviewed-by: Peter Xu <peterx@redhat.com> Signed-off-by: Fabiano Rosas <farosas@suse.de>
|
H A D | multifd.c | 48796f6b44df1dd0f78d18757889d5ac478c33e4 Wed Feb 05 16:17:22 UTC 2025 Fabiano Rosas <farosas@suse.de> migration/multifd: Terminate the TLS connection
The multifd recv side has been getting a TLS error of GNUTLS_E_PREMATURE_TERMINATION at the end of migration when the send side closes the sockets without ending the TLS session. This has been masked by the code not checking the migration error after loadvm.
Start ending the TLS session at multifd_send_shutdown() so the recv side always sees a clean termination (EOF) and we can start to differentiate that from an actual premature termination that might possibly happen in the middle of the migration.
There's nothing to be done if a previous migration error has already broken the connection, so add a comment explaining it and ignore any errors coming from gnutls_bye().
This doesn't break compat with older recv-side QEMUs because EOF has always caused the recv thread to exit cleanly.
Reviewed-by: Peter Xu <peterx@redhat.com> Signed-off-by: Fabiano Rosas <farosas@suse.de>
|