Hi Alex, here's a reworked version of the ipl-device patch, the cpu reset handler and a new 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 | 106 ++++++------------------------------ hw/s390x/Makefile.objs | 1 + hw/s390x/ipl.c | 144 +++++++++++++++++++++++++++++++++++++++++++++++++ hw/s390x/ipl.h | 31 +++++++++++ target-s390x/cpu.c | 52 +++++++++++++++++- target-s390x/cpu.h | 3 ++ target-s390x/kvm.c | 9 +++- 7 files changed, 254 insertions(+), 92 deletions(-) create mode 100644 hw/s390x/ipl.c create mode 100644 hw/s390x/ipl.h -- 1.7.12.4