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

Method get_lapic

hypervisor/src/kvm/mod.rs:2276–2282  ·  view source on GitHub ↗

Returns the state of the LAPIC (Local Advanced Programmable Interrupt Controller).

(&self)

Source from the content-addressed store, hash-verified

2274 /// Returns the state of the LAPIC (Local Advanced Programmable Interrupt Controller).
2275 ///
2276 fn get_lapic(&self) -> cpu::Result<LapicState> {
2277 Ok(self
2278 .fd
2279 .get_lapic()
2280 .map_err(|e| cpu::HypervisorCpuError::GetlapicState(e.into()))?
2281 .into())
2282 }
2283
2284 #[cfg(target_arch = "x86_64")]
2285 ///

Callers 3

set_lintFunction · 0.45
test_setlintFunction · 0.45
stateMethod · 0.45

Calls

no outgoing calls

Tested by 1

test_setlintFunction · 0.36