]> git.proxmox.com Git - mirror_qemu.git/commit - hw/pc_piix.c
kvm: x86: Add user space part for in-kernel IOAPIC
authorJan Kiszka <jan.kiszka@siemens.com>
Sun, 16 Oct 2011 21:25:49 +0000 (23:25 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Thu, 19 Jan 2012 11:14:42 +0000 (12:14 +0100)
commita39c1d47ac970312333bb93456e249e965315490
tree4085333d4bc0640be8ee3f52ad0fd20e73815ee7
parent10b618827507fbdbe7cf1a9b1f2c81d254dcd8b8
kvm: x86: Add user space part for in-kernel IOAPIC

This introduces the KVM-accelerated IOAPIC model 'kvm-ioapic' and
extends the IRQ routing setup by the 0->2 redirection when needed.

The kvm-ioapic model has a property that allows to define its GSI base
for injecting interrupts into the kernel model. This will allow to
disentangle PIC and IOAPIC pins for chipsets that support more
sophisticated IRQ routes than the PIIX3. So far the base is kept at 0,
i.e. PIC and IOAPIC share pins 0..15.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Makefile.target
hw/kvm/ioapic.c [new file with mode: 0644]
hw/pc_piix.c