Re: [PATCH 08/16] KVM: VMX: Check for full VMX support when verifying CPU compatibility

From: Jim Mattson
Date: Fri Oct 04 2019 - 19:35:56 EST


On Fri, Oct 4, 2019 at 2:56 PM Sean Christopherson
<sean.j.christopherson@xxxxxxxxx> wrote:
>
> Explicitly check the current CPU's VMX feature flag when verifying
> compatibility across physical CPUs. This effectively adds a check on
> IA32_FEATURE_CONTROL to ensure that VMX is fully enabled on all CPUs.
>
> Signed-off-by: Sean Christopherson <sean.j.christopherson@xxxxxxxxx>
Reviewed-by: Jim Mattson <jmattson@xxxxxxxxxx>