diff options
author | Gleb Natapov <gleb@redhat.com> | 2009-08-24 10:54:19 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-12-03 08:32:06 +0100 |
commit | 1a6e4a8c276e122dbeb6f9c610f29735e4236bfd (patch) | |
tree | a954fc1865f41cd79e5336c59904de1213e141d5 /arch/x86/kvm/irq.h | |
parent | KVM: Call pic_clear_isr() on pic reset to reuse logic there (diff) | |
download | linux-1a6e4a8c276e122dbeb6f9c610f29735e4236bfd.tar.xz linux-1a6e4a8c276e122dbeb6f9c610f29735e4236bfd.zip |
KVM: Move irq sharing information to irqchip level
This removes assumptions that max GSIs is smaller than number of pins.
Sharing is tracked on pin level not GSI level.
[avi: no PIC on ia64]
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/kvm/irq.h')
-rw-r--r-- | arch/x86/kvm/irq.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kvm/irq.h b/arch/x86/kvm/irq.h index 7d6058a2fd38..c025a2362aae 100644 --- a/arch/x86/kvm/irq.h +++ b/arch/x86/kvm/irq.h @@ -71,6 +71,7 @@ struct kvm_pic { int output; /* intr from master PIC */ struct kvm_io_device dev; void (*ack_notifier)(void *opaque, int irq); + unsigned long irq_states[16]; }; struct kvm_pic *kvm_create_pic(struct kvm *kvm); |