Hi Alex, here's a reworked version of the ipl-device patch, the cpu reset handler and the patch to query cpu definitions via QMP.
Viktors cpu query patch now has an #ifdef CONFIG_KVM and the square brackets around "host" in the text output were removed. It provides the basic funtionality we need and will be followed by further patches in the future. Patch 1: Creates a new ipl device and moves ipl code from s390_virtio.c Patch 2: Adds a cpu reset handler to Patch 3 Allow to query cpu types via commandline -? argument as well as via qmp Christian Borntraeger (1): s390: Move IPL code into a separate device Jens Freimann (1): s390: Add CPU reset handler Viktor Mihajlovski (1): S390: Enable -cpu help and QMP query-cpu-definitions hw/s390-virtio.c | 104 +++++---------------------------- hw/s390x/Makefile.objs | 1 + hw/s390x/ipl.c | 153 +++++++++++++++++++++++++++++++++++++++++++++++++ target-s390x/cpu.c | 55 +++++++++++++++++- target-s390x/cpu.h | 3 + target-s390x/kvm.c | 9 ++- 6 files changed, 233 insertions(+), 92 deletions(-) create mode 100644 hw/s390x/ipl.c -- 1.7.12.4