mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-19 01:51:35 +00:00
To support different CPUID entry semantics, we now allow to specify the compatible condition for each feature entry. Most entries are considered compatible when they are "bitwise subset", with few exceptions: 1. "equal", e.g. EBX/ECX/EDX of leaf `0x4000_0000` (KVM CPUID SIGNATURE); 2. "smaller or equal as a number", e.g. EAX of leaf `0x7` and leaf `0x4000_0000`; Signed-off-by: Bo Chen <chen.bo@intel.com>