Re: [PATCH 48/61] KVM: x86: Do host CPUID at load time to mask KVM cpu caps

From: Vitaly Kuznetsov
Date: Tue Feb 25 2020 - 08:53:41 EST


Sean Christopherson <sean.j.christopherson@xxxxxxxxx> writes:

> On Mon, Feb 24, 2020 at 11:46:09PM +0100, Vitaly Kuznetsov wrote:
>>
>> If we don't really believe that masking will actually mask anything,
>> maybe we should move it under '#ifdef CONFIG_KVM_CPUID_AUDIT'? And/or
>> add a WARN_ON()?
>
> I'm not opposed to trying that, but I'd definitely want to do it as a
> separate patch, or maybe even let it stew separately in kvm/queue for a
> few cycles.
>

Sounds like a good idea)

--
Vitaly