]> 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)
commit74e35c63069aef9f9f2f7dbffa30f4d600ac6cc6
treee53ec7fa98c5ea4ac08cfcfc56fac73b5ab9c642
parent836ae42c18f46d17ac02eddc32f288cf9eeabe6c
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