]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit91a77c93348bd276167f9f9710bd227d0e67f1a7
treebeef772584e0160c660697174fd846669b467609
parentc8eeffb066c83f4f079143aa3e7df2e9616b9dbb
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