KVM: Report IRQ injection status to userspace.
authorGleb Natapov <gleb@redhat.com>
Wed, 4 Feb 2009 15:28:14 +0000 (17:28 +0200)
committerAvi Kivity <avi@redhat.com>
Tue, 24 Mar 2009 09:03:11 +0000 (11:03 +0200)
commit4925663a079c77d95d8685228ad6675fc5639c8e
tree52e93df78b23a44ed21d015f835688f673dd351a
parent452425dbaa1974e9fc489e64a8de46a47b4c2754
KVM: Report IRQ injection status to userspace.

IRQ injection status is either -1 (if there was no CPU found
that should except the interrupt because IRQ was masked or
ioapic was misconfigured or ...) or >= 0 in that case the
number indicates to how many CPUs interrupt was injected.
If the value is 0 it means that the interrupt was coalesced
and probably should be reinjected.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/ia64/kvm/kvm-ia64.c
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/i8259.c
arch/x86/kvm/x86.c
include/linux/kvm.h
include/linux/kvm_host.h
virt/kvm/ioapic.c
virt/kvm/ioapic.h
virt/kvm/irq_comm.c