diff options
author | Gleb Natapov <gleb@redhat.com> | 2009-03-05 17:35:04 +0300 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-06-10 12:48:27 +0400 |
commit | 58c2dde17d6eb6c8c0566e52d184aa16755d890f (patch) | |
tree | a968731cbce73932decd63e00be313cebfd2f57f /virt/kvm/ioapic.h | |
parent | e1035715ef8d3171e29f9c6aee6f40d57b3fead5 (diff) | |
download | linux-58c2dde17d6eb6c8c0566e52d184aa16755d890f.tar.xz |
KVM: APIC: get rid of deliver_bitmask
Deliver interrupt during destination matching loop.
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Acked-by: Xiantao Zhang <xiantao.zhang@intel.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'virt/kvm/ioapic.h')
-rw-r--r-- | virt/kvm/ioapic.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/virt/kvm/ioapic.h b/virt/kvm/ioapic.h index e7bc92d895ff..7080b713c160 100644 --- a/virt/kvm/ioapic.h +++ b/virt/kvm/ioapic.h @@ -71,8 +71,6 @@ void kvm_ioapic_update_eoi(struct kvm *kvm, int vector, int trigger_mode); int kvm_ioapic_init(struct kvm *kvm); int kvm_ioapic_set_irq(struct kvm_ioapic *ioapic, int irq, int level); void kvm_ioapic_reset(struct kvm_ioapic *ioapic); -void kvm_get_intr_delivery_bitmask(struct kvm *kvm, struct kvm_lapic *src, - int dest_id, int dest_mode, bool low_prio, int short_hand, - unsigned long *deliver_bitmask); -int ioapic_deliver_entry(struct kvm *kvm, union kvm_ioapic_redirect_entry *e); +int kvm_irq_delivery_to_apic(struct kvm *kvm, struct kvm_lapic *src, + struct kvm_lapic_irq *irq); #endif |