pub trait HypervisorX86_64: Hypervisor {
// Required methods
fn get_supported_cpuid(&self) -> Result<CpuId>;
fn get_msr_index_list(&self) -> Result<Vec<u32>>;
}Expand description
A trait for managing cpuids for an x86_64 hypervisor and for checking its capabilities.
Required Methods§
Sourcefn get_supported_cpuid(&self) -> Result<CpuId>
fn get_supported_cpuid(&self) -> Result<CpuId>
Get the system supported CPUID values.
Sourcefn get_msr_index_list(&self) -> Result<Vec<u32>>
fn get_msr_index_list(&self) -> Result<Vec<u32>>
Gets the list of supported MSRs.