KVM: x86: don't retry hopeless APIC delivery
authorRadim Krčmář <rkrcmar@redhat.com>
Thu, 27 Nov 2014 19:03:14 +0000 (20:03 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 4 Dec 2014 14:29:06 +0000 (15:29 +0100)
commit698f9755d9c061865aecc52f590270ba5bbc1442
tree6d90f484ccb3f240f0cc7354f52cab5a7b3ce9bf
parentdecdc28382b93dc642b83b32758b7440036cab76
KVM: x86: don't retry hopeless APIC delivery

False from kvm_irq_delivery_to_apic_fast() means that we don't handle it
in the fast path, but we still return false in cases that were perfectly
handled, fix that.

Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/lapic.c