Received: from eggs.gnu.org ([2001:4830:134:3::10]:57577) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YqeOa-0000AE-OS for qemu-devel@nongnu.org; Fri, 08 May 2015 05:16:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YqeOW-00080Q-HA for qemu-devel@nongnu.org; Fri, 08 May 2015 05:16:36 -0400 Received: from e06smtp17.uk.ibm.com ([195.75.94.113]:54187) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YqeOW-0007zp-7o for qemu-devel@nongnu.org; Fri, 08 May 2015 05:16:32 -0400 Received: from /spool/local by e06smtp17.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 8 May 2015 10:16:31 +0100 Received: from b06cxnps4075.portsmouth.uk.ibm.com (d06relay12.portsmouth.uk.ibm.com [9.149.109.197]) by d06dlp03.portsmouth.uk.ibm.com (Postfix) with ESMTP id 92B901B0806B for ; Fri, 8 May 2015 10:17:10 +0100 (BST) Received: from d06av06.portsmouth.uk.ibm.com (d06av06.portsmouth.uk.ibm.com [9.149.37.217]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t489GRa062587048 for ; Fri, 8 May 2015 09:16:27 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 t484ATkl021243 for ; Fri, 8 May 2015 00:10:29 -0400 Date: Fri, 8 May 2015 11:16:25 +0200 From: Cornelia Huck Message-ID: <20150508111625.082e4d31.cornelia.huck@de.ibm.com> In-Reply-To: <1429257161-29597-3-git-send-email-cornelia.huck@de.ibm.com> References: <1429257161-29597-1-git-send-email-cornelia.huck@de.ibm.com> <1429257161-29597-3-git-send-email-cornelia.huck@de.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 2/6] watchdog: Add watchdog device diag288 to the sysbus List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Xu Wang Cc: agraf@suse.de, qemu-devel@nongnu.org, armbru@redhat.com, mdroth@linux.vnet.ibm.com, lcapitulino@redhat.com, borntraeger@de.ibm.com, jfrei@linux.vnet.ibm.com On Fri, 17 Apr 2015 09:52:37 +0200 Cornelia Huck wrote: > From: Xu Wang > > A new sysbus device for diag288 watchdog, it monitors the kvm guest > status, and take corresponding actions when it detects that the guest > is not responding. > > Signed-off-by: Xu Wang > Reviewed-by: David Hildenbrand > Signed-off-by: Cornelia Huck > --- > default-configs/s390x-softmmu.mak | 1 + > hw/watchdog/Makefile.objs | 1 + > hw/watchdog/wdt_diag288.c | 110 ++++++++++++++++++++++++++++++++++++++ > include/hw/watchdog/wdt_diag288.h | 36 +++++++++++++ > qemu-options.hx | 6 ++- > 5 files changed, 152 insertions(+), 2 deletions(-) > create mode 100644 hw/watchdog/wdt_diag288.c > create mode 100644 include/hw/watchdog/wdt_diag288.h OK, after some deliberation, I think it is best to model the diag288 watchdog as a bus-less device: The other watchdogs are modelled as devices as well, and it is probably a good idea to stay with this model as other parties may have made assumptions based on this. Xu, can you please switch the diag288 device to TYPE_DEVICE and address Markus' comments regarding the help text as well?