]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: nVMX: handle nested posted interrupts when apicv is disabled for L1
authorVitaly Kuznetsov <vkuznets@redhat.com>
Thu, 20 Feb 2020 17:22:05 +0000 (18:22 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 21 Feb 2020 17:05:21 +0000 (18:05 +0100)
commitb72a6ec0082e6f91a68d71d47b45819b19d7e6c1
treee53ec7fa98c5ea4ac08cfcfc56fac73b5ab9c642
parentd5b7ed2dbc1d801aac0215a6581a7054cbde731e
KVM: nVMX: handle nested posted interrupts when apicv is disabled for L1

Even when APICv is disabled for L1 it can (and, actually, is) still
available for L2, this means we need to always call
vmx_deliver_nested_posted_interrupt() when attempting an interrupt
delivery.

Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/lapic.c
arch/x86/kvm/svm.c
arch/x86/kvm/vmx/vmx.c