pub trait HypervisorX86_64: Hypervisor {
    // Required methods
    fn get_supported_cpuid(&self) -> Result<CpuId>;
    fn get_emulated_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§

source

fn get_supported_cpuid(&self) -> Result<CpuId>

Get the system supported CPUID values.

source

fn get_emulated_cpuid(&self) -> Result<CpuId>

Get the system emulated CPUID values.

source

fn get_msr_index_list(&self) -> Result<Vec<u32>>

Gets the list of supported MSRs.

Implementors§