KVM: nVMX: Fix posted intr delivery when vcpu is in guest mode
authorWincy Van <fanwenyi0529@gmail.com>
Fri, 28 Apr 2017 05:13:59 +0000 (13:13 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 26 Jul 2017 16:57:46 +0000 (18:57 +0200)
commit06a5524f091b6b41b0007810c74cc9315923a145
treebeef772584e0160c660697174fd846669b467609
parent210f84b0ca7743f3b2a9acfae81df668dbbb6a12
KVM: nVMX: Fix posted intr delivery when vcpu is in guest mode

The PI vector for L0 and L1 must be different. If dest vcpu0
is in guest mode while vcpu1 is delivering a non-nested PI to
vcpu0, there wont't be any vmexit so that the non-nested interrupt
will be delayed.

Signed-off-by: Wincy Van <fanwenyi0529@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c