diff --git a/vmm/src/vm.rs b/vmm/src/vm.rs index cf7027903..52eed9b70 100755 --- a/vmm/src/vm.rs +++ b/vmm/src/vm.rs @@ -1061,6 +1061,11 @@ impl Vm { Ok(()) } + + /// Gets a thread-safe reference counted pointer to the VM configuration. + pub fn get_config(&self) -> Arc { + Arc::clone(&self.config) + } } #[allow(unused)]