summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/kvm.h
diff options
context:
space:
mode:
authorAvi Kivity2008-11-19 12:58:46 +0100
committerAvi Kivity2009-03-24 10:03:06 +0100
commit399ec807ddc38ecccf8c06dbde04531cbdc63e11 (patch)
tree75a4e3ee9cfffb4ecf7b4608bb592c89f2b62219 /arch/x86/include/asm/kvm.h
parentKVM: x86: Fix typos and whitespace errors (diff)
downloadkernel-qcow2-linux-399ec807ddc38ecccf8c06dbde04531cbdc63e11.tar.gz
kernel-qcow2-linux-399ec807ddc38ecccf8c06dbde04531cbdc63e11.tar.xz
kernel-qcow2-linux-399ec807ddc38ecccf8c06dbde04531cbdc63e11.zip
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>
Diffstat (limited to 'arch/x86/include/asm/kvm.h')
0 files changed, 0 insertions, 0 deletions