Re: [PATCH 1/2] KVM: nVMX: Fix nested vmexit ack intr before load vmcs01

From: Wanpeng Li
Date: Tue Aug 05 2014 - 00:47:16 EST


Hi Davidlohr,
On Mon, Aug 04, 2014 at 12:56:36PM -0700, Davidlohr Bueso wrote:
>On Fri, 2014-08-01 at 16:12 +0800, Wanpeng Li wrote:
>> External interrupt will cause L1 vmexit w/ reason external interrupt when L2 is
>> running. Then L1 will pick up the interrupt through vmcs12 if L1 set the ack
>> interrupt bit. Commit 77b0f5d (KVM: nVMX: Ack and write vector info to intr_info
>> if L1 asks us to)
>
>So being that 77b0f5d is in 3.15, we need it for -stable.
>
>> get intr that belongs to L1 before load vmcs01 which is wrong,
>> especially this lead to the obvious L1 ack APICv behavior weired since APICv
>> is for L1 instead of L2. This patch fix it by ack intr after load vmcs01.
>>
>> Signed-off-by: Wanpeng Li <wanpeng.li@xxxxxxxxxxxxxxx>
>
>It strikes me that this fixes Felipe's issue:
>http://paste.opensuse.org/view/raw/78752586
>

Could you verify if the latest version also fix your issue? Your Tested-by
to the latest version is appreciated.

Regards,
Wanpeng Li

>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/