On Fri, 06 Sep 2024 00:08:37 +1200, Kai Huang wrote: > When SGX EDECCSSA support was added to KVM in commit 16a7fe3728a8 > ("KVM/VMX: Allow exposing EDECCSSA user leaf function to KVM guest"), it > forgot to clear the X86_FEATURE_SGX_EDECCSSA bit in KVM CPU caps when > KVM SGX is disabled. Fix it. Applied to kvm-x86 vmx. At some point, we should probably look at using the kernel's cpufeatures dependency chains, but that's no reason to hold this fix. Thanks! [1/1] KVM: VMX: Also clear SGX EDECCSSA in KVM CPU caps when SGX is disabled https://github.com/kvm-x86/linux/commit/7efb4d8a392a -- https://github.com/kvm-x86/linux/tree/next