StructsΒ§
- All of the context required to emulate the CPUID instruction.
EnumsΒ§
ConstantsΒ§
- AMD_EBX π
- AMD_ECX π
- AMD_EDX π
- EAX_CORE_TYPE_ATOM π
- EAX_CORE_TYPE_CORE π
- INTEL_EBX π
- INTEL_ECX π
- INTEL_EDX π
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 andctx
. Callsadjust_cpuid
on each entry incpuid
, and adds any entries that should exist and are missing fromcpuid
. - 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.