diff options
author | Gleb Natapov <gleb@redhat.com> | 2009-03-05 15:34:44 +0100 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-06-10 10:48:26 +0200 |
commit | 6da7e3f643cf7099965d75fda8606b9d3a8650b9 (patch) | |
tree | af1ae2e8e3cca59c127d252b3f84efda1dfadc5d /virt/kvm/irq_comm.c | |
parent | KVM: MMU: remove call to kvm_mmu_pte_write from walk_addr (diff) | |
download | linux-6da7e3f643cf7099965d75fda8606b9d3a8650b9.tar.xz linux-6da7e3f643cf7099965d75fda8606b9d3a8650b9.zip |
KVM: APIC: kvm_apic_set_irq deliver all kinds of interrupts
Get rid of ioapic_inj_irq() and ioapic_inj_nmi() functions.
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'virt/kvm/irq_comm.c')
-rw-r--r-- | virt/kvm/irq_comm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/virt/kvm/irq_comm.c b/virt/kvm/irq_comm.c index 1c6ff6d1b842..325c6685f206 100644 --- a/virt/kvm/irq_comm.c +++ b/virt/kvm/irq_comm.c @@ -148,6 +148,7 @@ static int kvm_set_msi(struct kvm_kernel_irq_routing_entry *e, if (r < 0) r = 0; r += kvm_apic_set_irq(vcpu, entry.fields.vector, + entry.fields.dest_mode, entry.fields.trig_mode); } } |