From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53449) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtoVk-0004RM-DB for qemu-devel@nongnu.org; Mon, 01 Jul 2013 20:32:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UtoVj-0005oj-4e for qemu-devel@nongnu.org; Mon, 01 Jul 2013 20:32:00 -0400 Received: from cantor2.suse.de ([195.135.220.15]:51820 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtoVi-0005oZ-S5 for qemu-devel@nongnu.org; Mon, 01 Jul 2013 20:31:59 -0400 Message-ID: <51D21F79.4070004@suse.de> Date: Tue, 02 Jul 2013 02:31:53 +0200 From: =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= MIME-Version: 1.0 References: <1372268143-3894-1-git-send-email-afaerber@suse.de> In-Reply-To: <1372268143-3894-1-git-send-email-afaerber@suse.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH qom-cpu v3 00/14] QOM CPUState, part 10: CPU loops List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, Paolo Bonzini Cc: Peter Maydell , Stefano Stabellini , Stefan Hajnoczi , Riku Voipio , Alexander Graf , Markus Armbruster , Blue Swirl , Anthony Liguori , Scott Wood , =?UTF-8?B?QXVyw6lsaWVuIEphcm5v?= Am 26.06.2013 19:35, schrieb Andreas F=C3=A4rber: > Hello, >=20 > This series changes cpu_single_env, first_cpu, next_cpu and thread_env = to CPUState. >=20 > v3 defers the removal of qemu_for_each_cpu() and drops CPU_INTERRUPT_* = changes, > renames cpu_single_cpu to current_cpu, while enforcing consistent use o= f > ENV_GET_CPU() and CPUArchState macros. >=20 > Available for testing at: > git://github.com/afaerber/qemu-cpu.git qom-cpu-10.v3 > https://github.com/afaerber/qemu-cpu/commits/qom-cpu-10.v3 This v3 didn't spark new controversies, and Alex and Peter had agreed to the remaining obj-y -> common-obj-y device changes, so I'm applying the rebased version as indicated (still builds on ppc, too) to qom-cpu, well aware that I will need to rebase PReP and x86 KVM first_cpu changes on top of Paolo's memory part 4 series. https://github.com/afaerber/qemu-cpu/commits/qom-cpu Andreas [...] > Andreas F=C3=A4rber (14): > kvm: Free current_cpu identifier > cpu: Replace cpu_single_env with CPUState current_cpu > kvm: Change kvm_remove_all_breakpoints() argument to CPUState > linux-user: Clean up do_syscall() Coding Style for TARGET_NR_exit > cpu: Make first_cpu and next_cpu CPUState > linux-user: Change thread_env to CPUState > bsd-user: Change thread_env to CPUState > intc/arm_gic: Build arm_gic only once > intc/openpic: Build openpic only once > timer/arm_mptimer: Build arm_mptimer only once > target-ppc: Don't overuse ENV_GET_CPU() > target-s390x: Don't overuse ENV_GET_CPU() > target-s390x: Change handle_{hypercall,diag}() argument to S390CPU > target-i386: Don't overuse CPUArchState >=20 > bsd-user/elfload.c | 6 +- > bsd-user/main.c | 6 +- > bsd-user/qemu.h | 2 +- > cpu-exec.c | 13 ++-- > cpus.c | 167 ++++++++++++++++++++++++--------------= -------- > cputlb.c | 4 +- > dump.c | 16 ++--- > exec.c | 55 ++++++++------- > gdbstub.c | 35 ++++++---- > hw/alpha/typhoon.c | 16 ++--- > hw/arm/boot.c | 10 +-- > hw/arm/exynos4_boards.c | 4 +- > hw/arm/highbank.c | 2 +- > hw/arm/pxa2xx.c | 3 +- > hw/arm/realview.c | 2 +- > hw/arm/vexpress.c | 2 +- > hw/arm/xilinx_zynq.c | 2 +- > hw/i386/kvm/clock.c | 12 ++-- > hw/i386/kvmvapic.c | 19 ++++-- > hw/i386/pc.c | 28 ++++---- > hw/i386/pc_piix.c | 3 +- > hw/intc/Makefile.objs | 4 +- > hw/intc/arm_gic.c | 4 +- > hw/intc/armv7m_nvic.c | 11 ++- > hw/intc/openpic.c | 9 +-- > hw/intc/sh_intc.c | 5 +- > hw/isa/lpc_ich9.c | 2 +- > hw/mips/mips_fulong2e.c | 6 +- > hw/mips/mips_jazz.c | 6 +- > hw/mips/mips_malta.c | 9 +-- > hw/misc/vmport.c | 26 +++++--- > hw/ppc/mpc8544_guts.c | 3 +- > hw/ppc/ppc.c | 12 ++-- > hw/ppc/prep.c | 12 ++-- > hw/ppc/spapr.c | 27 ++++---- > hw/sparc/sun4m.c | 5 +- > hw/timer/Makefile.objs | 2 +- > hw/timer/arm_mptimer.c | 9 ++- > include/exec/cpu-all.h | 4 -- > include/exec/cpu-defs.h | 1 - > include/hw/ppc/ppc.h | 2 - > include/hw/ppc/ppc_e500.h | 6 ++ > include/qom/cpu.h | 8 +++ > include/sysemu/kvm.h | 10 +-- > kvm-all.c | 53 ++++++++------- > kvm-stub.c | 6 +- > linux-user/elfload.c | 21 +++--- > linux-user/linuxload.c | 3 +- > linux-user/main.c | 16 ++--- > linux-user/qemu.h | 2 +- > linux-user/signal.c | 12 ++-- > linux-user/syscall.c | 80 +++++++++++----------- > memory.c | 10 ++- > memory_mapping.c | 16 ++--- > monitor.c | 4 +- > target-i386/arch_dump.c | 17 +++-- > target-i386/helper.c | 15 +++-- > target-i386/kvm.c | 8 ++- > target-i386/misc_helper.c | 2 +- > target-mips/op_helper.c | 25 ++++--- > target-ppc/excp_helper.c | 9 ++- > target-ppc/kvm.c | 2 +- > target-ppc/mmu_helper.c | 2 +- > target-s390x/kvm.c | 14 ++-- > translate-all.c | 32 +++++---- > user-exec.c | 9 +-- > 66 files changed, 500 insertions(+), 448 deletions(-) > create mode 100644 include/hw/ppc/ppc_e500.h >=20 --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=C3=BCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=C3=B6rffer; HRB 16746 AG N=C3=BC= rnberg