Changes in v8: - rebased over uq/master - fixed build issue of patch 16 with !CONFIG_KVM - converted forgotten container_of to DO_UPCAST You can pull this from git://git.kiszka.org/qemu-kvm.git queues/kvm-irqchip CC: Lai Jiangshan <laijs@xxxxxxxxxxxxxx> Jan Kiszka (18): msi: Generalize msix_supported to msi_supported kvm: Move kvmclock into hw/kvm folder apic: Stop timer on reset apic: Inject external NMI events via LINT1 apic: Introduce apic_report_irq_delivered apic: Factor out base class for KVM reuse apic: Open-code timer save/restore i8259: Completely privatize PicState i8259: Factor out base class for KVM reuse ioapic: Drop post-load irr initialization ioapic: Factor out base class for KVM reuse memory: Introduce memory_region_init_reservation kvm: Introduce core services for in-kernel irqchip support kvm: x86: Establish IRQ0 override control kvm: x86: Add user space part for in-kernel APIC kvm: x86: Add user space part for in-kernel i8259 kvm: x86: Add user space part for in-kernel IOAPIC kvm: Activate in-kernel irqchip support Makefile.objs | 2 +- Makefile.target | 6 +- configure | 1 + cpus.c | 6 +- hw/apic.c | 356 ++++++---------------------------------- hw/apic.h | 1 + hw/apic_common.c | 302 ++++++++++++++++++++++++++++++++++ hw/apic_internal.h | 115 +++++++++++++ hw/i8259.c | 163 ++++-------------- hw/i8259_common.c | 147 +++++++++++++++++ hw/i8259_internal.h | 76 +++++++++ hw/ioapic.c | 142 ++-------------- hw/ioapic_common.c | 104 ++++++++++++ hw/ioapic_internal.h | 97 +++++++++++ hw/kvm/apic.c | 138 ++++++++++++++++ hw/{kvmclock.c => kvm/clock.c} | 4 +- hw/{kvmclock.h => kvm/clock.h} | 0 hw/kvm/i8259.c | 128 ++++++++++++++ hw/kvm/ioapic.c | 114 +++++++++++++ hw/msi.c | 8 + hw/msi.h | 2 + hw/msix.c | 9 +- hw/msix.h | 2 - hw/pc.c | 20 ++- hw/pc.h | 8 +- hw/pc_piix.c | 69 +++++++- kvm-all.c | 154 +++++++++++++++++ kvm-stub.c | 5 + kvm.h | 14 ++ memory.c | 36 ++++ memory.h | 16 ++ qemu-config.c | 4 + qemu-options.hx | 5 +- sysemu.h | 1 - target-i386/kvm.c | 49 ++++++ trace-events | 2 +- vl.c | 1 - 37 files changed, 1716 insertions(+), 591 deletions(-) create mode 100644 hw/apic_common.c create mode 100644 hw/apic_internal.h create mode 100644 hw/i8259_common.c create mode 100644 hw/i8259_internal.h create mode 100644 hw/ioapic_common.c create mode 100644 hw/ioapic_internal.h create mode 100644 hw/kvm/apic.c rename hw/{kvmclock.c => kvm/clock.c} (98%) rename hw/{kvmclock.h => kvm/clock.h} (100%) create mode 100644 hw/kvm/i8259.c create mode 100644 hw/kvm/ioapic.c -- 1.7.3.4 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html