qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/6] s390x: support diag288 watchdog
@ 2015-04-17  7:52 Cornelia Huck
  2015-04-17  7:52 ` [Qemu-devel] [PATCH 1/6] s390x/virtio-ccw: enable has_dynamic_sysbus Cornelia Huck
                   ` (5 more replies)
  0 siblings, 6 replies; 31+ messages in thread
From: Cornelia Huck @ 2015-04-17  7:52 UTC (permalink / raw)
  To: qemu-devel
  Cc: armbru, mdroth, agraf, borntraeger, jfrei, Cornelia Huck,
	lcapitulino

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

^ permalink raw reply	[flat|nested] 31+ messages in thread
* [Qemu-devel] [PATCH 0/6] s390x/watchdog: add diag288 based watchdog
@ 2015-06-11 15:53 Christian Borntraeger
  2015-06-11 15:53 ` [Qemu-devel] [PATCH 6/6] watchdog: Add new Virtual Watchdog action INJECT-NMI Christian Borntraeger
  0 siblings, 1 reply; 31+ messages in thread
From: Christian Borntraeger @ 2015-06-11 15:53 UTC (permalink / raw)
  To: qemu-devel
  Cc: Cornelia Huck, Christian Borntraeger, Jens Freimann,
	Alexander Graf, Xu Wang

This is the reworked patch set for the s390 diag288 watchdog.
The previous version was posted bny Cornelia in this thread:
https://lists.gnu.org/archive/html/qemu-devel/2015-04/msg01950.html

This patch set should address all review comments.
If there are no blockers, pull request is planned for next
week.

Mao Chuan Li (1):
  watchdog: Add new Virtual Watchdog action INJECT-NMI

Xu Wang (5):
  watchdog: change option wording to allow for more watchdogs
  s390x/watchdog: introduce diag288 watchdog device
  s390x/kvm: diag288 instruction interception and handling
  s390x/watchdog: diag288 migration support
  nmi: Implement inject_nmi() for non-monitor context use

 default-configs/s390x-softmmu.mak |   1 +
 hw/core/nmi.c                     |  20 +++++++
 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                   |  26 +++++---
 target-s390x/cpu.h                |   1 +
 target-s390x/kvm.c                |  18 ++++++
 target-s390x/misc_helper.c        |  29 +++++++++
 12 files changed, 261 insertions(+), 10 deletions(-)
 create mode 100644 hw/watchdog/wdt_diag288.c
 create mode 100644 include/hw/watchdog/wdt_diag288.h

-- 
2.3.0

^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2015-06-15 13:55 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-17  7:52 [Qemu-devel] [PATCH 0/6] s390x: support diag288 watchdog Cornelia Huck
2015-04-17  7:52 ` [Qemu-devel] [PATCH 1/6] s390x/virtio-ccw: enable has_dynamic_sysbus Cornelia Huck
2015-04-21 19:06   ` Alexander Graf
2015-04-22  8:25     ` Cornelia Huck
2015-04-22  9:14       ` Alexander Graf
2015-04-22 11:40         ` Cornelia Huck
2015-04-22 12:21           ` Alexander Graf
2015-04-24  9:07             ` Cornelia Huck
2015-04-27 13:57               ` Alexander Graf
2015-04-27 14:19                 ` Cornelia Huck
2015-04-27 15:15                   ` Andreas Färber
2015-04-27 17:02                     ` Cornelia Huck
2015-04-27 15:28                   ` Alexander Graf
2015-04-27 16:56                     ` Cornelia Huck
2015-04-28  6:50                       ` Markus Armbruster
2015-04-17  7:52 ` [Qemu-devel] [PATCH 2/6] watchdog: Add watchdog device diag288 to the sysbus Cornelia Huck
2015-04-29 12:43   ` Markus Armbruster
2015-04-29 14:58     ` Cornelia Huck
2015-05-08  9:16   ` Cornelia Huck
2015-04-17  7:52 ` [Qemu-devel] [PATCH 3/6] s390/kvm: diag288 instruction interception and handling Cornelia Huck
2015-04-21 19:09   ` Alexander Graf
2015-04-22  8:32     ` Cornelia Huck
2015-04-22  9:16       ` Alexander Graf
2015-04-22 11:37         ` Cornelia Huck
2015-04-17  7:52 ` [Qemu-devel] [PATCH 4/6] watchdog: Add migration support to diag288 watchdog device Cornelia Huck
2015-04-17  7:52 ` [Qemu-devel] [PATCH 5/6] nmi: Implement inject_nmi() for non-monitor context use Cornelia Huck
2015-04-17  7:52 ` [Qemu-devel] [PATCH 6/6] watchdog: Add new Virtual Watchdog action INJECT-NMI Cornelia Huck
2015-04-17 12:28   ` Eric Blake
2015-04-20 15:23     ` Cornelia Huck
  -- strict thread matches above, loose matches on Subject: below --
2015-06-11 15:53 [Qemu-devel] [PATCH 0/6] s390x/watchdog: add diag288 based watchdog Christian Borntraeger
2015-06-11 15:53 ` [Qemu-devel] [PATCH 6/6] watchdog: Add new Virtual Watchdog action INJECT-NMI Christian Borntraeger
2015-06-15 13:55   ` Eric Blake

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).