On 2/8/21 2:54 AM, Kai Huang wrote: > Add SGX1 and SGX2 feature flags, via CPUID.0x12.0x0.EAX, as scattered > features, since adding a new leaf for only two bits would be wasteful. > As part of virtualizing SGX, KVM will expose the SGX CPUID leafs to its > guest, and to do so correctly needs to query hardware and kernel support > for SGX1 and SGX2. Looks good now. Acked-by: Dave Hansen <dave.hansen@xxxxxxxxx>