KVM: Convert mask notifiers to use irqchip/pin instead of gsi
[linux-2.6.git] / virt / kvm / ioapic.c
index 1149c60..0b9df83 100644 (file)
@@ -152,7 +152,7 @@ static void ioapic_write_indirect(struct kvm_ioapic *ioapic, u32 val)
                update_handled_vectors(ioapic);
                mask_after = e->fields.mask;
                if (mask_before != mask_after)
-                       kvm_fire_mask_notifiers(ioapic->kvm, index, mask_after);
+                       kvm_fire_mask_notifiers(ioapic->kvm, KVM_IRQCHIP_IOAPIC, index, mask_after);
                if (e->fields.trig_mode == IOAPIC_LEVEL_TRIG
                    && ioapic->irr & (1 << index))
                        ioapic_service(ioapic, index);