From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57989) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3oIM-0000d0-9t for qemu-devel@nongnu.org; Mon, 29 Jul 2013 10:19:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V3oIA-0000nQ-29 for qemu-devel@nongnu.org; Mon, 29 Jul 2013 10:19:30 -0400 Received: from e06smtp16.uk.ibm.com ([195.75.94.112]:49203) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3oI9-0000n3-Ph for qemu-devel@nongnu.org; Mon, 29 Jul 2013 10:19:18 -0400 Received: from /spool/local by e06smtp16.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 29 Jul 2013 15:13:12 +0100 Received: from b06cxnps4075.portsmouth.uk.ibm.com (d06relay12.portsmouth.uk.ibm.com [9.149.109.197]) by d06dlp02.portsmouth.uk.ibm.com (Postfix) with ESMTP id 62CD62190019 for ; Mon, 29 Jul 2013 15:23:28 +0100 (BST) Received: from d06av08.portsmouth.uk.ibm.com (d06av08.portsmouth.uk.ibm.com [9.149.37.249]) by b06cxnps4075.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r6TEJ22X327974 for ; Mon, 29 Jul 2013 14:19:02 GMT Received: from d06av08.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av08.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id r6TEJDhs000644 for ; Mon, 29 Jul 2013 08:19:13 -0600 From: Christian Borntraeger Date: Mon, 29 Jul 2013 16:19:21 +0200 Message-Id: <1375107567-24301-1-git-send-email-borntraeger@de.ibm.com> Subject: [Qemu-devel] [PATCH/RFC 0/6] s390 kdump /soft reset and friends List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: Cornelia Huck , Christian Borntraeger , =?UTF-8?q?Andreas=20F=C3=A4rber?= , qemu-devel 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