diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2011-10-16 15:30:27 +0200 |
---|---|---|
committer | Jan Kiszka <jan.kiszka@siemens.com> | 2012-01-19 12:14:42 +0100 |
commit | 10b618827507fbdbe7cf1a9b1f2c81d254dcd8b8 (patch) | |
tree | 3d74d3deadcd5366557f702f7e24667753dadeb1 /hw/pc.h | |
parent | 680c1c6fd73c0cb3971938944936f18bbb7bad1b (diff) |
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>
Diffstat (limited to 'hw/pc.h')
-rw-r--r-- | hw/pc.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -64,6 +64,7 @@ bool parallel_mm_init(MemoryRegion *address_space, extern DeviceState *isa_pic; qemu_irq *i8259_init(ISABus *bus, qemu_irq parent_irq); +qemu_irq *kvm_i8259_init(ISABus *bus); int pic_read_irq(DeviceState *d); int pic_get_output(DeviceState *d); void pic_info(Monitor *mon); |