Returns the floating point state (FPU) from the vCPU.
(&self)
| 2203 | /// Returns the floating point state (FPU) from the vCPU. |
| 2204 | /// |
| 2205 | fn get_fpu(&self) -> cpu::Result<FpuState> { |
| 2206 | Ok(self |
| 2207 | .fd |
| 2208 | .get_fpu() |
| 2209 | .map_err(|e| cpu::HypervisorCpuError::GetFloatingPointRegs(e.into()))? |
| 2210 | .into()) |
| 2211 | } |
| 2212 | |
| 2213 | #[cfg(target_arch = "x86_64")] |
| 2214 | /// |
no outgoing calls