Received: from eggs.gnu.org ([208.118.235.92]:42678) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiDim-0007FU-Nh for qemu-devel@nongnu.org; Mon, 10 Dec 2012 19:29:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TiDil-00079L-5Z for qemu-devel@nongnu.org; Mon, 10 Dec 2012 19:29:16 -0500 Received: from mx1.redhat.com ([209.132.183.28]:3900) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiDik-00078j-Rw for qemu-devel@nongnu.org; Mon, 10 Dec 2012 19:29:15 -0500 From: Eduardo Habkost Date: Mon, 10 Dec 2012 22:30:41 -0200 Message-Id: <1355185843-19682-1-git-send-email-ehabkost@redhat.com> Subject: [Qemu-devel] [PATCH 0/2] target-i386: move CPU object creation to cpu.c List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Igor Mammedov , =?UTF-8?q?Andreas=20F=C3=A4rber?= This small series moves the X86CPU object creation to the cpu.c code, as the object creation will depend on the CPU class lookup, that will be done inside cpu.c. I expect this to make the x86 CPU subclass work simpler. Maybe it will help simplify some of the CPU properties work, too. Eduardo Habkost (2): target-i386: move CPU object creation to cpu.c target-i386: make cpu_x86_create() get Error argument target-i386/cpu.c | 23 ++++++++++++++++++----- target-i386/cpu.h | 2 +- target-i386/helper.c | 26 ++++++++++++++------------ 3 files changed, 33 insertions(+), 18 deletions(-) -- 1.7.11.7