KVM: Interrupt mask notifiers for ioapic
authorAvi Kivity <avi@redhat.com>
Sun, 4 Jan 2009 15:10:50 +0000 (17:10 +0200)
committerAvi Kivity <avi@redhat.com>
Tue, 24 Mar 2009 09:03:03 +0000 (11:03 +0200)
commit75858a84a6207f5e60196f6bbd18fde4250e5759
treead8ab5d60a616270c61d88a9af08713cefbc9d35
parent5d9b8e30f543a9f21a968a4cda71e8f6d1c66a61
KVM: Interrupt mask notifiers for ioapic

Allow clients to request notifications when the guest masks or unmasks a
particular irq line.  This complements irq ack notifications, as the guest
will not ack an irq line that is masked.

Currently implemented for the ioapic only.

Signed-off-by: Avi Kivity <avi@redhat.com>
include/linux/kvm_host.h
virt/kvm/ioapic.c
virt/kvm/irq_comm.c
virt/kvm/kvm_main.c