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 AliasesΒ§