Received: from eggs.gnu.org ([208.118.235.92]:54708) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SErFP-0005d4-LI for qemu-devel@nongnu.org; Mon, 02 Apr 2012 20:05:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SErFN-0000xK-BM for qemu-devel@nongnu.org; Mon, 02 Apr 2012 20:05:19 -0400 Received: from cantor2.suse.de ([195.135.220.15]:37580 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SErFN-0000ws-21 for qemu-devel@nongnu.org; Mon, 02 Apr 2012 20:05:17 -0400 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Tue, 3 Apr 2012 02:05:07 +0200 Message-Id: <1333411511-10139-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 0/4] QOM'ify x86 CPU, part 1 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Liu Jinsong , Lai Jiangshan , Jan Kiszka , Vasilis Liaskovitis , Anthony Liguori , Igor Mammedov , =?UTF-8?q?Andreas=20F=C3=A4rber?= , Eduardo Habkost Hello, This series strips down x86 CPU QOM'ification to the bare minimum, leaving out subclasses for builtin or external CPU models. It is ordered after the s390x conversion but is independent of it, again due to alphabetical ordering, so that it could be applied right away now. While I haven't seen any follow-up patches for X86CPU hotplug yet, patch 2 is the one that allows to either use it as a child<> of a device or to put TYPE_CPU directly onto some qdev bus for CONFIG_SOFTMMU. Available from: git://github.com/afaerber/qemu-cpu.git qom-cpu-x86.v2 https://github.com/afaerber/qemu-cpu/commits/qom-cpu-x86.v2 Regards, Andreas Cc: Anthony Liguori Cc: Jan Kiszka Cc: Igor Mammedov Cc: Liu Jinsong Cc: Lai Jiangshan Cc: Vasilis Liaskovitis Cc: Eduardo Habkost v1 -> v2: * Move file rename to its own patch. * Set diff.renames to true to force rename detection for cpu.c. * Postpone TYPE_X86_CPU subclasses and split off reset and initfn convers= ion. Andreas F=C3=A4rber (4): target-i386: Rename cpuid.c target-i386: QOM'ify CPU target-i386: QOM'ify CPU init target-i386: QOM'ify CPU reset Makefile.target | 2 +- target-i386/cpu-qom.h | 71 +++++++++++++++++++++ target-i386/{cpuid.c =3D> cpu.c} | 134 ++++++++++++++++++++++++++++++++= ++++++++ target-i386/cpu.h | 3 +- target-i386/helper.c | 100 ++---------------------------- 5 files changed, 213 insertions(+), 97 deletions(-) create mode 100644 target-i386/cpu-qom.h rename target-i386/{cpuid.c =3D> cpu.c} (92%) --=20 1.7.7