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

Method get_saved_state

vmm/src/cpu.rs:603–605  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

601 /// Gets the saved vCPU state.
602 #[cfg(any(target_arch = "aarch64", target_arch = "riscv64"))]
603 pub fn get_saved_state(&self) -> Option<CpuState> {
604 self.saved_state.clone()
605 }
606
607 /// Initializes an aarch64 specific vcpu for booting Linux.
608 #[cfg(target_arch = "aarch64")]

Callers 1

get_saved_statesMethod · 0.80

Calls 1

cloneMethod · 0.45

Tested by

no test coverage detected