[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <85d6d093-554b-5e5e-c42c-da4ac071941e@redhat.com>
Date: Fri, 25 Jan 2019 18:51:45 +0100
From: Paolo Bonzini <pbonzini@...hat.com>
To: Vitaly Kuznetsov <vkuznets@...hat.com>, kvm@...r.kernel.org
Cc: Radim Krčmář <rkrcmar@...hat.com>,
linux-kernel@...r.kernel.org, Joerg Roedel <joro@...tes.org>,
x86@...nel.org
Subject: Re: [PATCH] KVM: nSVM: clear events pending from
svm_complete_interrupts() when exiting to L1
On 07/01/19 19:44, Vitaly Kuznetsov wrote:
> kvm-unit-tests' eventinj "NMI failing on IDT" test results in NMI being
> delivered to the host (L1) when it's running nested. The problem seems to
> be: svm_complete_interrupts() raises 'nmi_injected' flag but later we
> decide to reflect EXIT_NPF to L1. The flag remains pending and we do NMI
> injection upon entry so it got delivered to L1 instead of L2.
>
> It seems that VMX code solves the same issue in prepare_vmcs12(), this was
> introduced with code refactoring in commit 5f3d5799974b ("KVM: nVMX: Rework
Queued, thanks.
Paolo
Powered by blists - more mailing lists