Re: [PATCH 39/61] KVM: SVM: Convert feature updates from CPUID to KVM cpu caps

From: Paolo Bonzini
Date: Tue Feb 25 2020 - 10:10:26 EST


On 01/02/20 19:51, Sean Christopherson wrote:
> + /* CPUID 0x8000000A */
> + /* Support next_rip if host supports it */
> + if (boot_cpu_has(X86_FEATURE_NRIPS))
> + kvm_cpu_cap_set(X86_FEATURE_NRIPS);

Should this also be conditional on "nested"?

Paolo