From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57586) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yj157-000607-LL for qemu-devel@nongnu.org; Fri, 17 Apr 2015 03:52:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yj152-0006Xb-HC for qemu-devel@nongnu.org; Fri, 17 Apr 2015 03:52:57 -0400 Received: from e06smtp10.uk.ibm.com ([195.75.94.106]:48218) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yj152-0006Wt-7r for qemu-devel@nongnu.org; Fri, 17 Apr 2015 03:52:52 -0400 Received: from /spool/local by e06smtp10.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 17 Apr 2015 08:52:49 +0100 Received: from b06cxnps4074.portsmouth.uk.ibm.com (d06relay11.portsmouth.uk.ibm.com [9.149.109.196]) by d06dlp01.portsmouth.uk.ibm.com (Postfix) with ESMTP id 0C3C817D8042 for ; Fri, 17 Apr 2015 08:53:23 +0100 (BST) Received: from d06av06.portsmouth.uk.ibm.com (d06av06.portsmouth.uk.ibm.com [9.149.37.217]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t3H7qjLf10551602 for ; Fri, 17 Apr 2015 07:52:46 GMT Received: from d06av06.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av06.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t3H2lBas007409 for ; Thu, 16 Apr 2015 22:47:11 -0400 From: Cornelia Huck Date: Fri, 17 Apr 2015 09:52:35 +0200 Message-Id: <1429257161-29597-1-git-send-email-cornelia.huck@de.ibm.com> Subject: [Qemu-devel] [PATCH 0/6] s390x: support diag288 watchdog List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: armbru@redhat.com, mdroth@linux.vnet.ibm.com, agraf@suse.de, borntraeger@de.ibm.com, jfrei@linux.vnet.ibm.com, Cornelia Huck , lcapitulino@redhat.com The following series of patches enables a watchdog for s390x that is based upon a hypercall (diagnose 0x288). The same interface is already used for s390 LPAR, so it makes sense to provide it under qemu as well. Patches to enable Linux guests to utilize the watchdog have made their way upstream during the merge window for 4.1 (see commit b2527d20 "s390/watchdog: support for KVM hypervisors and delete pr_info messages"). This patchset is based on top of the s390x patchset I send out last week (see <1428569498-27393-1-git-send-email-cornelia.huck@de.ibm.com>). A branch can be found at git://github.com/cohuck/qemu s390-next-watchdog Feedback welcome, especially regarding interface sanity. Mao Chuan Li (1): watchdog: Add new Virtual Watchdog action INJECT-NMI Xu Wang (5): s390x/virtio-ccw: enable has_dynamic_sysbus watchdog: Add watchdog device diag288 to the sysbus s390/kvm: diag288 instruction interception and handling watchdog: Add migration support to diag288 watchdog device nmi: Implement inject_nmi() for non-monitor context use default-configs/s390x-softmmu.mak | 1 + hw/core/nmi.c | 20 +++++++ hw/s390x/s390-virtio-ccw.c | 1 + hw/watchdog/Makefile.objs | 1 + hw/watchdog/watchdog.c | 10 ++++ hw/watchdog/wdt_diag288.c | 122 ++++++++++++++++++++++++++++++++++++++ include/hw/nmi.h | 1 + include/hw/watchdog/wdt_diag288.h | 36 +++++++++++ qapi-schema.json | 6 +- qemu-options.hx | 6 +- target-s390x/cpu.h | 1 + target-s390x/kvm.c | 18 ++++++ target-s390x/misc_helper.c | 33 +++++++++++ 13 files changed, 253 insertions(+), 3 deletions(-) create mode 100644 hw/watchdog/wdt_diag288.c create mode 100644 include/hw/watchdog/wdt_diag288.h -- 2.3.5