[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <63797A78-1645-4A7E-970B-62C9A580B71B@oracle.com>
Date: Thu, 26 Sep 2019 14:31:04 +0300
From: Liran Alon <liran.alon@...cle.com>
To: Paolo Bonzini <pbonzini@...hat.com>
Cc: linux-kernel@...r.kernel.org, kvm@...r.kernel.org,
Sean Christopherson <sean.j.christopherson@...el.com>,
Jim Mattson <jmattson@...gle.com>,
Krish Sadhukhan <krish.sadhukhan@...cle.com>
Subject: Re: [PATCH] KVM: nVMX: cleanup and fix host 64-bit mode checks
> On 25 Sep 2019, at 19:34, Paolo Bonzini <pbonzini@...hat.com> wrote:
>
> KVM was incorrectly checking vmcs12->host_ia32_efer even if the "load
> IA32_EFER" exit control was reset. Also, some checks were not using
> the new CC macro for tracing.
>
> Cleanup everything so that the vCPU's 64-bit mode is determined
> directly from EFER_LMA and the VMCS checks are based on that, which
> matches section 26.2.4 of the SDM.
>
> Cc: Sean Christopherson <sean.j.christopherson@...el.com>
> Cc: Jim Mattson <jmattson@...gle.com>
> Cc: Krish Sadhukhan <krish.sadhukhan@...cle.com>
> Fixes: 5845038c111db27902bc220a4f70070fe945871c
> Signed-off-by: Paolo Bonzini <pbonzini@...hat.com>
> —
Reviewed-by: Liran Alon <liran.alon@...cle.com>
Powered by blists - more mailing lists