(&self, cpu_id: u8, regs: &StandardRegisters)
| 1991 | |
| 1992 | #[cfg(feature = "guest_debug")] |
| 1993 | fn set_regs(&self, cpu_id: u8, regs: &StandardRegisters) -> Result<()> { |
| 1994 | self.vcpus[usize::from(cpu_id)] |
| 1995 | .lock() |
| 1996 | .unwrap() |
| 1997 | .vcpu |
| 1998 | .set_regs(regs) |
| 1999 | .map_err(Error::CpuDebug) |
| 2000 | } |
| 2001 | |
| 2002 | #[cfg(all(target_arch = "x86_64", feature = "guest_debug"))] |
| 2003 | fn get_sregs(&self, cpu_id: u8) -> Result<SpecialRegisters> { |
no outgoing calls