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

From: Paolo Bonzini
Date: Fri Feb 28 2020 - 02:03:50 EST


On 28/02/20 01:36, Sean Christopherson wrote:
> Regarding NRIPS, the original commit added the "Support next_rip if host
> supports it" comment, but I can't tell is "host supports" means "supported
> in hardware" or "supported by KVM". In other words, should I make the cap
> dependent "nrips" or leave it as is?
>

The "nrips" parameter came later. For VMX we generally remove guest
capabilities if the corresponding parameter is on, so it's a good idea
to do the same for SVM.

Paolo