lkml.org 
[lkml]   [2014]   [Aug]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 1/2] KVM: nVMX: Fix nested vmexit ack intr before load vmcs01
From
Date
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@linux.intel.com>

It strikes me that this fixes Felipe's issue:
http://paste.opensuse.org/view/raw/78752586






\
 
 \ /
  Last update: 2014-08-04 22:21    [W:0.118 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site