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

Method get_xsave

hypervisor/src/kvm/mod.rs:3462–3468  ·  view source on GitHub ↗

X86 specific call that returns the vcpu's current "xsave struct".

(&self)

Source from the content-addressed store, hash-verified

3460 /// X86 specific call that returns the vcpu's current "xsave struct".
3461 ///
3462 fn get_xsave(&self) -> cpu::Result<XsaveState> {
3463 Ok(self
3464 .fd
3465 .get_xsave()
3466 .map_err(|e| cpu::HypervisorCpuError::GetXsaveState(e.into()))?
3467 .into())
3468 }
3469
3470 #[cfg(target_arch = "x86_64")]
3471 ///

Callers 1

stateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected