From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:54614) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rmoun-0000B4-Fc for qemu-devel@nongnu.org; Mon, 16 Jan 2012 10:56:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rmoui-0002n8-JU for qemu-devel@nongnu.org; Mon, 16 Jan 2012 10:56:09 -0500 Received: from thoth.sbs.de ([192.35.17.2]:21122) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rmoui-0002mk-0U for qemu-devel@nongnu.org; Mon, 16 Jan 2012 10:56:04 -0500 From: Jan Kiszka Date: Mon, 16 Jan 2012 16:55:34 +0100 Message-Id: Subject: [Qemu-devel] [PATCH v7 00/18] uq/master: Introduce basic irqchip support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity , Marcelo Tosatti Cc: Anthony Liguori , Lai Jiangshan , kvm@vger.kernel.org, "Michael S. Tsirkin" , qemu-devel , Blue Swirl Changes in v7: - introduce {apic,pic,ioapic}_qdev_register and use {APIC,PIC,IOAPIC}CommonInfo to move more code into the common modules - clean up forgotten fragments of backend/frontend approach - rephrased potentially misleading title of last patch ;) CC: Lai Jiangshan 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 | 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, 1714 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