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 <anth...@codemonkey.ws> Cc: Jan Kiszka <jan.kis...@siemens.com> Cc: Igor Mammedov <imamm...@redhat.com> Cc: Liu Jinsong <jinsong....@intel.com> Cc: Lai Jiangshan <la...@cn.fujitsu.com> Cc: Vasilis Liaskovitis <vasilis.liaskovi...@profitbricks.com> Cc: Eduardo Habkost <ehabk...@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