From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:46777) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tk1rh-0000c5-CH for qemu-devel@nongnu.org; Sat, 15 Dec 2012 19:13:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tk1rf-0004s8-W8 for qemu-devel@nongnu.org; Sat, 15 Dec 2012 19:13:57 -0500 Received: from cantor2.suse.de ([195.135.220.15]:33001 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tk1rf-0004s0-MI for qemu-devel@nongnu.org; Sat, 15 Dec 2012 19:13:55 -0500 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Sun, 16 Dec 2012 01:13:26 +0100 Message-Id: <1355616817-1260-1-git-send-email-afaerber@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH v2 00/11] QOM CPUState, part 6: CPU_COMMON for KVM List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Peter Maydell , Eduardo Habkost , kvm@vger.kernel.org, Marcelo Tosatti , Alexander Graf , Anthony Liguori , Igor Mammedov , =?UTF-8?q?Andreas=20F=C3=A4rber?= Hello, Here's a rebased version of the series moving KVM-specific fields from CPU*State struct (CPU_COMMON macro) to QOM CPUState and avoiding use of CPU*State in KVM's API. There was no review feedback on v1, which I'm interpreting as a don't-car= e. If no one objects, I will thus include it in my qom-cpu pull mid of the w= eek. Available here: https://github.com/afaerber/qemu-cpu/commits/qom-cpu-6.v2 git://github.com/afaerber/qemu-cpu.git qom-cpu-6.v2 Regards, Andreas v1 -> v2: * Added documentation for kvm_fd field in 01/11 * Changed type of kvm_vcpu_dirty field to bool in 02/11 * Rebased 10/11 onto ppc merge that introduced use of env->mmu_model in kvm_get_fallback_smmu_info() by using PowerPCCPU instead of CPUState ar= gument Cc: Anthony Liguori Cc: Marcelo Tosatti Cc: kvm Cc: Alexander Graf Cc: Peter Maydell Cc: Igor Mammedov Cc: Eduardo Habkost Andreas F=C3=A4rber (11): cpu: Move kvm_fd into CPUState kvm: Pass CPUState to kvm_arch_* kvm: Pass CPUState to kvm_vcpu_ioctl() ppc: Pass PowerPCCPU to ppc_set_irq() ppc: Pass PowerPCCPU to [h]decr callbacks ppc: Pass PowerPCCPU to [h]decr timer callbacks ppc_booke: Pass PowerPCCPU to {decr,fit,wdt} timer callbacks ppc4xx_devs: Return PowerPCCPU from ppc4xx_init() ppc_booke: Pass PowerPCCPU to ppc_booke_timers_init() cpu: Move kvm_state field into CPUState cpu: Move kvm_run into CPUState cpu-defs.h | 8 +- hw/kvm/apic.c | 10 +- hw/kvm/clock.c | 2 +- hw/ppc.c | 128 +++++++++++++---------- hw/ppc.h | 4 +- hw/ppc/e500.c | 2 +- hw/ppc405_uc.c | 10 +- hw/ppc440_bamboo.c | 2 +- hw/ppc4xx.h | 6 +- hw/ppc4xx_devs.c | 8 +- hw/ppc_booke.c | 44 ++++---- hw/s390-virtio-bus.c | 12 +-- hw/spapr.c | 2 +- hw/virtex_ml507.c | 2 +- include/qemu/cpu.h | 11 ++ kvm-all.c | 127 ++++++++++++----------- kvm.h | 32 +++--- target-i386/cpu.c | 7 +- target-i386/kvm.c | 240 +++++++++++++++++++++++++-------------= ------ target-ppc/kvm.c | 124 ++++++++++++++--------- target-ppc/kvm_ppc.h | 8 +- target-s390x/cpu.h | 12 +-- target-s390x/interrupt.c | 3 +- target-s390x/kvm.c | 176 ++++++++++++++++++-------------- target-s390x/misc_helper.c | 2 +- 25 Dateien ge=C3=A4ndert, 561 Zeilen hinzugef=C3=BCgt(+), 421 Zeilen ent= fernt(-) --=20 1.7.10.4