On Tue, Jan 26, 2021 at 10:30:16PM +1300, Kai Huang wrote: > From: Sean Christopherson <seanjc@xxxxxxxxxx> > > 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. > > Signed-off-by: Sean Christopherson <seanjc@xxxxxxxxxx> > Signed-off-by: Kai Huang <kai.huang@xxxxxxxxx> Acked-by: Jarkko Sakkinen <jarkko@xxxxxxxxxx> /Jarkko