[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150318010923.GA13570@amt.cnet>
Date: Tue, 17 Mar 2015 22:09:23 -0300
From: Marcelo Tosatti <mtosatti@...hat.com>
To: Radim Krčmář <rkrcmar@...hat.com>
Cc: linux-kernel@...r.kernel.org, kvm@...r.kernel.org,
Paolo Bonzini <pbonzini@...hat.com>,
Kashyap Chamarthy <kchamart@...hat.com>, stable@...r.kernel.org
Subject: Re: [PATCH RESEND] KVM: nVMX: mask unrestricted_guest if disabled on
L0
On Tue, Mar 17, 2015 at 02:02:32PM +0100, Radim Krčmář wrote:
> If EPT was enabled, unrestricted_guest was allowed in L1 regardless of
> L0. L1 triple faulted when running L2 guest that required emulation.
>
> Another side effect was 'WARN_ON_ONCE(vmx->nested.nested_run_pending)'
> in L0's dmesg:
> WARNING: CPU: 0 PID: 0 at arch/x86/kvm/vmx.c:9190 nested_vmx_vmexit+0x96e/0xb00 [kvm_intel] ()
>
> Prevent this scenario by masking SECONDARY_EXEC_UNRESTRICTED_GUEST when
> the host doesn't have it enabled.
>
> Fixes: 78051e3b7e35 ("KVM: nVMX: Disable unrestricted mode if ept=0")
> Cc: stable@...r.kernel.org
> Tested-By: Kashyap Chamarthy <kchamart@...hat.com>
> Signed-off-by: Radim Krčmář <rkrcmar@...hat.com>
> ---
> The resend Cc'd stable, as recommended by Bandan, and added Tested-by.
Applied to master, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists