qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/4] QOM'ify x86 CPU, part 1
@ 2012-04-03  0:05 Andreas Färber
  2012-04-03  0:05 ` [Qemu-devel] [PATCH v2 1/4] target-i386: Rename cpuid.c Andreas Färber
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Andreas Färber @ 2012-04-03  0:05 UTC (permalink / raw)
  To: qemu-devel
  Cc: Liu Jinsong, Lai Jiangshan, Jan Kiszka, Vasilis Liaskovitis,
	Anthony Liguori, Igor Mammedov, Andreas Färber,
	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 <anthony@codemonkey.ws>
Cc: Jan Kiszka <jan.kiszka@siemens.com>
Cc: Igor Mammedov <imammedo@redhat.com>
Cc: Liu Jinsong <jinsong.liu@intel.com>
Cc: Lai Jiangshan <laijs@cn.fujitsu.com>
Cc: Vasilis Liaskovitis <vasilis.liaskovitis@profitbricks.com>
Cc: Eduardo Habkost <ehabkost@redhat.com>

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 conversion.

Andreas Färber (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 => 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 => cpu.c} (92%)

-- 
1.7.7

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-04-03  0:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-03  0:05 [Qemu-devel] [PATCH v2 0/4] QOM'ify x86 CPU, part 1 Andreas Färber
2012-04-03  0:05 ` [Qemu-devel] [PATCH v2 1/4] target-i386: Rename cpuid.c Andreas Färber
2012-04-03  0:05 ` [Qemu-devel] [PATCH v2 2/4] target-i386: QOM'ify CPU Andreas Färber
2012-04-03  0:05 ` [Qemu-devel] [PATCH v2 3/4] target-i386: QOM'ify CPU init Andreas Färber
2012-04-03  0:05 ` [Qemu-devel] [PATCH v2 4/4] target-i386: QOM'ify CPU reset Andreas Färber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).