From 9dc970630b0ed1ae7eea4bfc78187bab87c04a5b Mon Sep 17 00:00:00 2001 From: Philipp Schuster Date: Wed, 24 Jun 2026 11:00:11 +0200 Subject: [PATCH] vmm: log successful TCP/TLS handshake This helps operators and developers to easily verify if the TLS handshake was successful. On-behalf-of: SAP philipp.schuster@sap.com Signed-off-by: Philipp Schuster --- vmm/src/migration/transport.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vmm/src/migration/transport.rs b/vmm/src/migration/transport.rs index 226b51bd3..2785dee5a 100644 --- a/vmm/src/migration/transport.rs +++ b/vmm/src/migration/transport.rs @@ -70,6 +70,7 @@ impl ReceiveListener { .map(SocketStream::Tls) .context("Failed to accept TLS migration connection") .map_err(MigratableError::MigrateReceive) + .inspect(|_| info!("TLS handshake (server-side/receiver) successful")) } } } @@ -942,6 +943,7 @@ pub(crate) fn send_migration_socket( .map(SocketStream::Tls) .context("Error creating TLS migration stream") .map_err(MigratableError::MigrateSend) + .inspect(|_| info!("TLS handshake (client-side/sender) successful")) } else { Ok(SocketStream::Tcp(socket)) }