Returns the vCPU special registers.
(&self)
| 2180 | /// Returns the vCPU special registers. |
| 2181 | /// |
| 2182 | fn get_sregs(&self) -> cpu::Result<SpecialRegisters> { |
| 2183 | Ok(self |
| 2184 | .fd |
| 2185 | .get_sregs() |
| 2186 | .map_err(|e| cpu::HypervisorCpuError::GetSpecialRegs(e.into()))? |
| 2187 | .into()) |
| 2188 | } |
| 2189 | |
| 2190 | #[cfg(target_arch = "x86_64")] |
| 2191 | /// |
no outgoing calls
no test coverage detected