Received: from eggs.gnu.org ([208.118.235.92]:52958) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T24io-0000Ur-Bf for qemu-devel@nongnu.org; Thu, 16 Aug 2012 14:23:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T24in-0005yo-09 for qemu-devel@nongnu.org; Thu, 16 Aug 2012 14:23:06 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52214) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T24im-0005yW-OK for qemu-devel@nongnu.org; Thu, 16 Aug 2012 14:23:04 -0400 From: Eduardo Habkost Date: Thu, 16 Aug 2012 13:58:59 -0300 Message-Id: <1345136352-10756-1-git-send-email-ehabkost@redhat.com> Subject: [Qemu-devel] [RFC 00/13] CPU init cleanup + CPU model classes (v2) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: aliguori@us.ibm.com, stefanha@linux.vnet.ibm.com, gleb@redhat.com, vijaymohan.pandarathil@hp.com, jan.kiszka@siemens.com, mtosatti@redhat.com, mdroth@linux.vnet.ibm.com, blauwirbel@gmail.com, avi@redhat.com, pbonzini@redhat.com, akong@redhat.com, lersek@redhat.com, afaerber@suse.de his is a new version of the previous CPU model classes RFC I have sent previously, rebased on top of Igor's CPU properties series, and other series from the list. Igor's series: http://article.gmane.org/gmane.comp.emulators.qemu/165728 Considering that I had rebased Igor's series on top of other code, it's probably easier to look directly at my git tree: https://github.com/ehabkost/qemu-hacks/tree/work/cpu-model-classes-v1.10-2012-08-16 The following series were applied before this one, in this order: - -cpu help fixes from Peter Maydell (branch from-list/cpu-help-peter-2012-08-10) - CPU DeviceState series from Anthony (branch from-list/cpu-qdev-anthony-2012-08-10) - My "move CPU models to C" series (branch work/move-cpu-models-to-C-v1.4-2012-08-15) - Igor's CPU properties series (branch work/cpu-properties-igor-rebase-v3.2-2012-08-15) Eduardo Habkost (13): target-i386/cpu.c: coding style fixes x86_cpudef_setup: coding style change i386: x86_def_t: rename 'flags' field move CPU x86 object creation to cpu.c rename x86_def_t to X86CPUDefinition move X86CPUDefinition to cpu-qom.h cpu_x86_create: move error handling to end of function cpu_x86_register: always initialize 'name' and 'features' kill cpu_x86_register() cpu_x86_create: reorder parsing of CPU model string and creation of CPU object check for NULL cpu_model outside cpu_x86_find_by_name register a class for each CPU model (v2) HACK to initialize types later hw/pc.c | 2 +- hw/xen_machine_pv.c | 2 +- target-i386/cpu-qom.h | 21 ++++ target-i386/cpu.c | 340 ++++++++++++++++++++++++++++++++------------------ target-i386/cpu.h | 5 +- target-i386/helper.c | 24 ---- 6 files changed, 243 insertions(+), 151 deletions(-) -- 1.7.11.2