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.
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 | 174 +++++++++++++++++++++++++++++++++++++++++++++++++ target-s390x/cpu.c | 58 ++++++++++++++++- target-s390x/cpu.h | 3 + target-s390x/kvm.c | 9 ++- 6 files changed, 257 insertions(+), 92 deletions(-) create mode 100644 hw/s390x/ipl.c -- 1.7.12.4