]> git.proxmox.com Git - mirror_qemu.git/commit - hw/i386/pc_piix.c
kvm: x86: Add user space part for in-kernel i8259
authorJan Kiszka <jan.kiszka@siemens.com>
Sun, 16 Oct 2011 13:30:27 +0000 (15:30 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Thu, 19 Jan 2012 11:14:42 +0000 (12:14 +0100)
commit10b618827507fbdbe7cf1a9b1f2c81d254dcd8b8
tree3d74d3deadcd5366557f702f7e24667753dadeb1
parent680c1c6fd73c0cb3971938944936f18bbb7bad1b
kvm: x86: Add user space part for in-kernel i8259

Introduce the alternative 'kvm-i8259' device model that exploits KVM
in-kernel acceleration.

The PIIX3 initialization code is furthermore extended by KVM specific
IRQ route setup. GSI injection differs in KVM mode from the user space
model. As we can dispatch ISA-range IRQs to both IOAPIC and PIC inside
the kernel, we do not need to inject them separately. This is reflected
by a KVM-specific GSI handler.

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