Trait hypervisor::x86_64::HypervisorX86_64
source · 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.