Module x86_64::cpuid

source ·

Structs

  • All of the context required to emulate the CPUID instruction.

Enums

Constants

Functions

  • Adjust a CPUID instruction result to return values that work with crosvm.
  • Adjust all the entries in cpuid based on crosvm’s cpuid logic and ctx. Calls adjust_cpuid on each entry in cpuid, and adds any entries that should exist and are missing from cpuid.
  • Sets up the cpuid entries for the given vcpu. Can fail if there are too many CPUs specified or if an ioctl returns an error.

Type Definitions