diff --git a/vmm/src/device_manager.rs b/vmm/src/device_manager.rs index b895380cb..055d9e73d 100644 --- a/vmm/src/device_manager.rs +++ b/vmm/src/device_manager.rs @@ -766,7 +766,7 @@ pub struct PtyPair { pub path: PathBuf, } -impl PtyPair { +impl Clone for PtyPair { fn clone(&self) -> Self { PtyPair { main: self.main.try_clone().unwrap(),