diff options
author | Gleb Natapov <gleb@redhat.com> | 2009-03-05 16:34:44 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-06-10 11:48:26 +0300 |
commit | 6da7e3f643cf7099965d75fda8606b9d3a8650b9 (patch) | |
tree | af1ae2e8e3cca59c127d252b3f84efda1dfadc5d /virt/kvm/irq_comm.c | |
parent | f5a1e9f89504f57b2b45645a7239dc8a8ddb0f4c (diff) | |
download | lwn-6da7e3f643cf7099965d75fda8606b9d3a8650b9.tar.gz lwn-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); } } |