Trait arch::HypervisorArch

source ·
pub trait HypervisorArch: Hypervisor {
    // Required methods
    fn get_supported_cpuid(&self) -> Result<CpuId, Error>;
    fn get_msr_index_list(&self) -> Result<Vec<u32>, Error>;
}
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, Error>

Get the system supported CPUID values.

source

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

Gets the list of supported MSRs.

Implementors§