qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v2 0/4] QOM'ify x86 CPU, part 1


From: Andreas Färber
Subject: [Qemu-devel] [PATCH v2 0/4] QOM'ify x86 CPU, part 1
Date: Tue, 3 Apr 2012 02:05:07 +0200

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 <address@hidden>
Cc: Jan Kiszka <address@hidden>
Cc: Igor Mammedov <address@hidden>
Cc: Liu Jinsong <address@hidden>
Cc: Lai Jiangshan <address@hidden>
Cc: Vasilis Liaskovitis <address@hidden>
Cc: Eduardo Habkost <address@hidden>

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]