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

Method create_standard_regs

vmm/src/cpu.rs:1974–1980  ·  view source on GitHub ↗
(&self, cpu_id: u8)

Source from the content-addressed store, hash-verified

1972
1973 #[cfg(all(target_arch = "x86_64", feature = "guest_debug"))]
1974 fn create_standard_regs(&self, cpu_id: u8) -> StandardRegisters {
1975 self.vcpus[usize::from(cpu_id)]
1976 .lock()
1977 .unwrap()
1978 .vcpu
1979 .create_standard_regs()
1980 }
1981
1982 #[cfg(feature = "guest_debug")]
1983 fn get_regs(&self, cpu_id: u8) -> Result<StandardRegisters> {

Callers 5

setup_regsFunction · 0.45
write_regsMethod · 0.45
test_setup_regs_for_pvhFunction · 0.45

Calls

no outgoing calls

Tested by 3

test_setup_regs_for_pvhFunction · 0.36