diff --git a/hypervisor/src/vm.rs b/hypervisor/src/vm.rs index cafced0a1..bf57f2342 100644 --- a/hypervisor/src/vm.rs +++ b/hypervisor/src/vm.rs @@ -390,6 +390,16 @@ pub trait Vm: Send + Sync + Any { ) -> Result<()> { unimplemented!() } + + /// Pause the VM + fn pause(&self) -> Result<()> { + Ok(()) + } + + /// Resume the VM + fn resume(&self) -> Result<()> { + Ok(()) + } } pub trait VmOps: Send + Sync {