Re: [PATCH v2 2/3] KVM: X86: Fix userspace set broken combinations of CPUID and CR4

From: Paolo Bonzini
Date: Tue Sep 24 2019 - 09:55:46 EST


On 17/09/19 19:32, Sean Christopherson wrote:
>
> Paolo, can you provide an "official" ruling on how KVM_SET_SREGS should
> interact with reserved bits? It's not at all clear from the git history
> if skipping the checks was intentional or an oversight.

It's okay to make it fail as long as KVM already checks the value of the
reserved bits on vmexit. If not, some care might be required.

Paolo