diff options
author | Gleb Natapov <gleb@redhat.com> | 2009-08-24 04:54:19 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-12-03 02:32:06 -0500 |
commit | 1a6e4a8c276e122dbeb6f9c610f29735e4236bfd (patch) | |
tree | a954fc1865f41cd79e5336c59904de1213e141d5 /include/linux/kvm_host.h | |
parent | 79c727d4371aa9af47b0cdbcad53742b5a7919ea (diff) |
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 'include/linux/kvm_host.h')
-rw-r--r-- | include/linux/kvm_host.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h index b7bbb5ddd7a..1c7f8c49e4e 100644 --- a/include/linux/kvm_host.h +++ b/include/linux/kvm_host.h | |||
@@ -120,7 +120,7 @@ struct kvm_kernel_irq_routing_entry { | |||
120 | u32 gsi; | 120 | u32 gsi; |
121 | u32 type; | 121 | u32 type; |
122 | int (*set)(struct kvm_kernel_irq_routing_entry *e, | 122 | int (*set)(struct kvm_kernel_irq_routing_entry *e, |
123 | struct kvm *kvm, int level); | 123 | struct kvm *kvm, int irq_source_id, int level); |
124 | union { | 124 | union { |
125 | struct { | 125 | struct { |
126 | unsigned irqchip; | 126 | unsigned irqchip; |