]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: VMX: Don't unblock vCPU w/ Posted IRQ if IRQs are disabled in guest
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 16 Nov 2021 14:32:47 +0000 (09:32 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 8 Dec 2021 09:24:45 +0000 (04:24 -0500)
commitc16417b3448ea0e8241969cc54f3f7580633baef
treeb58db3711a9e9315210acccc53a363ce7b432c47
parent511ef2f696773a634905c29eb39555819ab25111
KVM: VMX: Don't unblock vCPU w/ Posted IRQ if IRQs are disabled in guest

Don't configure the wakeup handler when a vCPU is blocking with IRQs
disabled, in which case any IRQ, posted or otherwise, should not be
recognized and thus should not wake the vCPU.

Fixes: 4ce933cf7557 ("KVM: Update Posted-Interrupts Descriptor when vCPU is blocked")
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20211009021236.4122790-2-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/posted_intr.c