Re: [PATCH v2] KVM: nVMX: Fix exception injection

From: Radim KrÄmÃÅ
Date: Tue Jun 06 2017 - 09:26:21 EST


2017-06-05 14:26+0200, Paolo Bonzini:
> On 05/06/2017 14:19, Wanpeng Li wrote:
> > From: Wanpeng Li <wanpeng.li@xxxxxxxxxxx>
> > This patch fixes it by confirming to inject exception to the guest when the exit
> > reason in vmcs02 is exception.
>
> I think the final part of the commit message needs to be reworded, like:
>
> Reusing the exit reason from the L2->L0 vmexit is wrong in this case,
> the reason must always be EXCEPTION_NMI when injecting an exception into
> L1 as a nested vmexit.
>
> Radim can fix it when applying.

Done while applying to kvm/master, thanks.