Avi Kivity 399ec807dd KVM: Userspace controlled irq routing
Currently KVM has a static routing from GSI numbers to interrupts (namely,
0-15 are mapped 1:1 to both PIC and IOAPIC, and 16:23 are mapped 1:1 to
the IOAPIC).  This is insufficient for several reasons:

- HPET requires non 1:1 mapping for the timer interrupt
- MSIs need a new method to assign interrupt numbers and dispatch them
- ACPI APIC mode needs to be able to reassign the PCI LINK interrupts to the
  ioapics

This patch implements an interrupt routing table (as a linked list, but this
can be easily changed) and a userspace interface to replace the table.  The
routing table is initialized according to the current hardwired mapping.

Signed-off-by: Avi Kivity <avi@redhat.com>
2009-03-24 11:03:06 +02:00
..
2009-03-24 11:03:02 +02:00
2008-10-28 14:22:14 +02:00
2009-01-03 14:11:07 +01:00
2009-03-24 11:02:50 +02:00
2009-03-24 11:02:50 +02:00
2008-12-31 16:54:59 +02:00
2008-12-31 16:54:59 +02:00
2008-04-27 12:01:03 +03:00
2009-03-24 11:02:50 +02:00