(&mut self)
| 2484 | } |
| 2485 | |
| 2486 | fn vm_power_button(&mut self) -> result::Result<(), VmError> { |
| 2487 | if let Some(ref mut vm) = self.vm { |
| 2488 | vm.power_button() |
| 2489 | } else { |
| 2490 | Err(VmError::VmNotRunning) |
| 2491 | } |
| 2492 | } |
| 2493 | |
| 2494 | fn vm_nmi(&mut self) -> result::Result<(), VmError> { |
| 2495 | if let Some(ref mut vm) = self.vm { |
no test coverage detected