diff --git a/vmm/src/migration_transport.rs b/vmm/src/migration_transport.rs index 820501a3e..ddc2337b5 100644 --- a/vmm/src/migration_transport.rs +++ b/vmm/src/migration_transport.rs @@ -73,11 +73,6 @@ pub(crate) fn receive_migration_socket( )) })?; - // Remove the UNIX socket file after accepting the connection - std::fs::remove_file(&path).map_err(|e| { - MigratableError::MigrateReceive(anyhow!("Error removing UNIX socket file: {e}")) - })?; - Ok(SocketStream::Unix(socket)) } }