Changes in v6: - back to the roots: model irqchip variants as separate qdev devices with a common base class - i8259: Completely privatize PicState - ioapic: Drop post-load irr initialization I hope this meets all expectations now and can soon be merged. Jan 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: Arm in-kernel irqchip support Makefile.objs | 2 +- Makefile.target | 6 +- configure | 1 + cpus.c | 6 +- hw/apic.c | 368 ++++++++-------------------------------- hw/apic.h | 1 + hw/apic_common.c | 273 +++++++++++++++++++++++++++++ hw/apic_internal.h | 123 +++++++++++++ hw/i8259.c | 165 ++++++------------ hw/i8259_common.c | 96 +++++++++++ hw/i8259_internal.h | 76 ++++++++ hw/ioapic.c | 152 ++++------------- hw/ioapic_common.c | 70 ++++++++ hw/ioapic_internal.h | 99 +++++++++++ hw/kvm/apic.c | 165 ++++++++++++++++++ hw/{kvmclock.c => kvm/clock.c} | 4 +- hw/{kvmclock.h => kvm/clock.h} | 0 hw/kvm/i8259.c | 173 +++++++++++++++++++ hw/kvm/ioapic.c | 144 ++++++++++++++++ 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 | 67 +++++++- 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, 1769 insertions(+), 558 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