Hello Edgar, This series strips down my CRIS QOM'ification patch from the qom-cpu-others.v1 RFC series and splits it into multiple steps. I still think the code is calling for subclasses for crisv8 etc. but, given the timing, my priority is establishing a self-contained QOM CPUState for all targets.
You hadn't commented on the RFC. Please review and, if satisfied, apply. Depends on LM32 QOM'ification, for which I'll send a PULL shortly. Available from: git://github.com/afaerber/qemu-cpu.git qom-cpu-cris.v2 https://github.com/afaerber/qemu-cpu/commits/qom-cpu-cris.v2 Regards, Andreas Cc: Edgar E. Iglesias <edgar.igles...@gmail.com> v1 -> v2: * Split off from qom-cpu-others series, rebased onto qemu.git. * Update argument/variable naming to avoid "klass". * Drop subclasses for now and leave TYPE_CRIS_CPU non-abstract. Andreas Färber (3): target-cris: QOM'ify CPU target-cris: QOM'ify CPU reset target-cris: Start QOM'ifying CPU init Makefile.target | 1 + target-cris/cpu-qom.h | 71 +++++++++++++++++++++++++++++++++++++ target-cris/cpu.c | 90 +++++++++++++++++++++++++++++++++++++++++++++++ target-cris/cpu.h | 2 + target-cris/translate.c | 28 +++----------- 5 files changed, 170 insertions(+), 22 deletions(-) create mode 100644 target-cris/cpu-qom.h create mode 100644 target-cris/cpu.c -- 1.7.7