From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:39915) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TsGL8-0006hI-Tr for qemu-devel@nongnu.org; Mon, 07 Jan 2013 12:18:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TsGL7-0008Ts-0P for qemu-devel@nongnu.org; Mon, 07 Jan 2013 12:18:22 -0500 Received: from cantor2.suse.de ([195.135.220.15]:44939 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TsGL6-0008T6-ND for qemu-devel@nongnu.org; Mon, 07 Jan 2013 12:18:20 -0500 Message-ID: <50EB0356.3070408@suse.de> Date: Mon, 07 Jan 2013 18:18:14 +0100 From: =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= MIME-Version: 1.0 References: <1355931071-22100-1-git-send-email-afaerber@suse.de> In-Reply-To: <1355931071-22100-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 0/7] QOM CPUState, part 7: CPU_COMMON for topology List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, Eduardo Habkost , =?UTF-8?B?QXVyw6lsaWVuIEphcm5v?= Cc: Igor Mammedov , Alexander Graf , Anthony Liguori Am 19.12.2012 16:31, schrieb Andreas F=C3=A4rber: > Hello, >=20 > This series moves more fields from CPU_COMMON / CPU*State to CPUState, > allowing access from target-independent code. It is an intermediate ste= p in > the effort to untangle CPUArchState and CPUState; cores and threads are > intended to be refactored as QOM composition (socket has-a core has-a t= hread) > later on. Note that in addition to x86 this affects ppc and mips. >=20 > Available here, based on pending qom-cpu pull: > https://github.com/afaerber/qemu-cpu/commits/qom-cpu-7.v1 > git://github.com/afaerber/qemu-cpu.git qom-cpu-7.v1 Anyone any objections to this series? It has been rebased onto the header reorganization already (qom-cpu-7) and will need to be rebased again once the ppc pull is in. Andreas > Known conflicts: > * my ppc CPU subclasses patch: > - changes [kvm]ppc_fixup_cpu() signatures, > - drops kvmppc_host_cpu_def(), > - splits cpu_ppc_register_internal() into initfn and realizefn. >=20 > Regards, > Andreas >=20 > Cc: Anthony Liguori > Cc: Alexander Graf > Cc: Aur=C3=A9lien Jarno >=20 > Cc: Igor Mammedov > Cc: Eduardo Habkost >=20 > Andreas F=C3=A4rber (7): > cpu: Move nr_{cores,threads} fields to CPUState > target-mips: Clean up mips_cpu_map_tc() documentation > cpu: Move numa_node field to CPUState > cpu: Move cpu_index field to CPUState > kvm: Pass CPUState to kvm_init_vcpu() > xen: Simplify halting of first CPU > exec: Return CPUState from qemu_get_cpu() >=20 > cpu-all.h | 1 - > cpu-defs.h | 4 ---- > cpus.c | 24 +++++++++++++++--------- > exec.c | 19 +++++++++---------- > gdbstub.c | 3 ++- > gdbstub.h | 3 ++- > hw/alpha_typhoon.c | 4 +++- > hw/arm_gic.c | 3 ++- > hw/arm_mptimer.c | 8 +++++--- > hw/mips_malta.c | 9 ++++++--- > hw/openpic.c | 3 ++- > hw/ppc/e500.c | 17 +++++++++++------ > hw/ppce500_spin.c | 8 +++++--- > hw/pxa.h | 2 +- > hw/pxa2xx.c | 4 ++-- > hw/pxa2xx_gpio.c | 7 ++++--- > hw/spapr.c | 13 ++++++++----- > hw/spapr_hcall.c | 4 +++- > hw/spapr_rtas.c | 8 +++++--- > hw/xics.c | 22 ++++++++++++---------- > include/qemu/cpu.h | 19 +++++++++++++++++++ > kvm-all.c | 5 ++--- > kvm-stub.c | 2 +- > kvm.h | 5 +++-- > monitor.c | 19 +++++++++++++------ > target-alpha/translate.c | 2 +- > target-arm/cpu.c | 2 +- > target-arm/helper.c | 3 ++- > target-cris/cpu.c | 2 +- > target-i386/cpu.c | 25 +++++++++++++------------ > target-i386/helper.c | 15 ++++++++------- > target-i386/misc_helper.c | 5 ++++- > target-lm32/cpu.c | 2 +- > target-m68k/cpu.c | 2 +- > target-microblaze/cpu.c | 2 +- > target-mips/cpu.c | 8 ++++++++ > target-mips/op_helper.c | 33 ++++++++++++++++++++++----------- > target-mips/translate.c | 17 +++++++---------- > target-openrisc/cpu.c | 2 +- > target-ppc/kvm.c | 12 +++++++----- > target-ppc/kvm_ppc.h | 4 ++-- > target-ppc/translate_init.c | 14 +++++++++----- > target-s390x/cpu.c | 2 +- > target-sh4/cpu.c | 2 +- > target-sparc/cpu.c | 2 +- > xen-all.c | 4 +--- > 46 Dateien ge=C3=A4ndert, 228 Zeilen hinzugef=C3=BCgt(+), 148 Zeilen e= ntfernt(-) >=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