The following patch set implements S390 cpu models in KVM accellerator context. It is currently based on a configuration device interface not yet published for RFC. The implementation can as well be used to feed the currently discussed TCG related facility representation.
Michael Mueller (11): s390/qemu: cpu modle disable list cpus s390/qemu: cpu model extend config device s390/qemu: cpu model cpu class definition s390/qemu: cpu model cpu facilitiy support s390/qemu: cpu model alias support s390/qemu: cpu model KVM properties requests s390/qemu: cpu model class initialization s390/qemu: cpu model command line option help s390/qemu: cpu model QMP query-cpu-definitions s390/qemu: cpu model QMP query-cpu-model s390/qemu: cpu model enablement hw/s390x/s390-virtio-ccw.c | 15 + hw/s390x/s390-virtio.c | 31 ++- include/sysemu/arch_init.h | 1 + linux-headers/asm-s390/kvm.h | 15 + qapi-schema.json | 23 ++ qmp-commands.hx | 6 + qmp.c | 5 + target-s390x/Makefile.objs | 1 + target-s390x/cpu-models.c | 637 +++++++++++++++++++++++++++++++++++++++++++ target-s390x/cpu-models.h | 97 +++++++ target-s390x/cpu-qom.h | 9 + target-s390x/cpu.c | 106 ++++++- target-s390x/helper.c | 24 +- vl.c | 8 +- 14 files changed, 965 insertions(+), 13 deletions(-) create mode 100644 target-s390x/cpu-models.c create mode 100644 target-s390x/cpu-models.h -- 1.8.3.1