KVM: APIC: kvm_apic_set_irq deliver all kinds of interrupts
[linux-2.6.git] / virt / kvm / irq_comm.c
index 1c6ff6d1b8422fc7f1db46fee8605ce9a29b2cf1..325c6685f2065488f0f1e9406a94d1667816031b 100644 (file)
@@ -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);
                }
        }