MCPcopy Create free account
hub / github.com/cloud-hypervisor/cloud-hypervisor / set_guest_debug

Method set_guest_debug

vmm/src/vm.rs:3486–3496  ·  view source on GitHub ↗
(
        &self,
        cpu_id: usize,
        addrs: &[GuestAddress],
        singlestep: bool,
    )

Source from the content-addressed store, hash-verified

3484#[cfg(feature = "guest_debug")]
3485impl 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 {

Callers 1

debug_requestMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected