Hello Michael, This series strips down my LM32 QOM'ification patch from the qom-cpu-others.v1 RFC series, not touching on subclasses yet.
I've fixed the "cris" error. Can you please test and ack again or send a PULL for it? (All remaining targets from C to S depend on the Makefile.target bit; lm32 applies to master.) Available from: git://github.com/afaerber/qemu-cpu.git qom-cpu-lm32.v2 https://github.com/afaerber/qemu-cpu/commits/qom-cpu-lm32.v2 Regards, Andreas Cc: Michael Walle <mich...@walle.cc> v1 -> v2: * Split off from qom-cpu-others series, rebased onto qemu.git. * Fix "cris_" copy&paste error, spotted by Michael. * Update argument/variable naming to avoid "klass" and to use ..._type_info. * Drop subclasses for now and leave TYPE_LM32_CPU non-abstract. Andreas Färber (3): target-lm32: QOM'ify CPU target-lm32: QOM'ify CPU init target-lm32: QOM'ify CPU reset Makefile.target | 1 + target-lm32/cpu-qom.h | 71 +++++++++++++++++++++++++++++++++++++++++++ target-lm32/cpu.c | 81 +++++++++++++++++++++++++++++++++++++++++++++++++ target-lm32/cpu.h | 1 + target-lm32/helper.c | 17 ++-------- 5 files changed, 158 insertions(+), 13 deletions(-) create mode 100644 target-lm32/cpu-qom.h create mode 100644 target-lm32/cpu.c -- 1.7.7