Method
set_guest_debug
(
&self,
cpu_id: usize,
addrs: &[GuestAddress],
singlestep: bool,
)
Source from the content-addressed store, hash-verified
| 3484 | #[cfg(feature = "guest_debug")] |
| 3485 | impl Debuggable for Vm { |
| 3486 | fn set_guest_debug( |
| 3487 | &self, |
| 3488 | cpu_id: usize, |
| 3489 | addrs: &[GuestAddress], |
| 3490 | singlestep: bool, |
| 3491 | ) -> std::result::Result<(), DebuggableError> { |
| 3492 | self.cpu_manager |
| 3493 | .lock() |
| 3494 | .unwrap() |
| 3495 | .set_guest_debug(cpu_id, addrs, singlestep) |
| 3496 | } |
| 3497 | |
| 3498 | fn debug_pause(&mut self) -> std::result::Result<(), DebuggableError> { |
| 3499 | if self.state == VmState::Running { |
Tested by
no test coverage detected