Alex, Andreas,

here is an implementation for a soft-reset variant that is used
by s390 on kdump. The last patch also wires up the nmi command
to inject a restart interrupt. So there are two methods to trigger
kdump:
- a crash, e.g. via echo c > /proc/sysrq_trigger
- inject-nmi /nmi via virsh/monitor

Feedback is welcome


Christian Borntraeger (4):
  s390: provide I/O subsystem reset
  s390: provide a cpu load normal function
  s390/cpu: split CPU reset into architectured functions
  s390: Implement load normal reset

Eugene (jno) Dvurechenski (2):
  s390/kvm: basic implementation of diagnose 308 subcode 6
  s390: wire up nmi command to raise a RESTART interrupt on S390

 cpus.c                     | 14 ++++++++
 hmp-commands.hx            |  4 +--
 hw/s390x/s390-virtio-ccw.c | 15 +++++++++
 qmp-commands.hx            |  2 +-
 target-s390x/cpu-qom.h     |  6 ++++
 target-s390x/cpu.c         | 50 ++++++++++++++++++++++++----
 target-s390x/cpu.h         | 17 ++++++++++
 target-s390x/kvm.c         | 81 ++++++++++++++++++++++++++++++++++++++++++++--
 8 files changed, 176 insertions(+), 13 deletions(-)

-- 
1.8.3.1


Reply via email to