Received: from eggs.gnu.org ([2001:4830:134:3::10]:54390) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z34n9-00033H-HC for qemu-devel@nongnu.org; Thu, 11 Jun 2015 11:53:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z34n5-0000N6-2w for qemu-devel@nongnu.org; Thu, 11 Jun 2015 11:53:19 -0400 Received: from e06smtp10.uk.ibm.com ([195.75.94.106]:35514) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z34n4-0000Lh-Qn for qemu-devel@nongnu.org; Thu, 11 Jun 2015 11:53:15 -0400 Received: from /spool/local by e06smtp10.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 11 Jun 2015 16:53:12 +0100 Received: from b06cxnps3075.portsmouth.uk.ibm.com (d06relay10.portsmouth.uk.ibm.com [9.149.109.195]) by d06dlp03.portsmouth.uk.ibm.com (Postfix) with ESMTP id 461061B0805F for ; Thu, 11 Jun 2015 16:54:08 +0100 (BST) Received: from d06av08.portsmouth.uk.ibm.com (d06av08.portsmouth.uk.ibm.com [9.149.37.249]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t5BFr9Eq21495840 for ; Thu, 11 Jun 2015 15:53:09 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 t5BFr9aS022020 for ; Thu, 11 Jun 2015 09:53:09 -0600 From: Christian Borntraeger Date: Thu, 11 Jun 2015 17:53:28 +0200 Message-Id: <1434038013-28990-2-git-send-email-borntraeger@de.ibm.com> In-Reply-To: <1434038013-28990-1-git-send-email-borntraeger@de.ibm.com> References: <1434038013-28990-1-git-send-email-borntraeger@de.ibm.com> Subject: [Qemu-devel] [PATCH 1/6] watchdog: change option wording to allow for more watchdogs List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel Cc: Cornelia Huck , Christian Borntraeger , Jens Freimann , Alexander Graf , Xu Wang From: Xu Wang We will introduce a new watchdog for s390x. Lets adopt qemu-options.hx to allow more watchdog devices. Signed-off-by: Xu Wang Reviewed-by: David Hildenbrand Signed-off-by: Christian Borntraeger [split out qemu-option.hx base changes] --- qemu-options.hx | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/qemu-options.hx b/qemu-options.hx index 1d281f6..a295c0f 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -3152,7 +3152,7 @@ when the shift value is high (how high depends on the host machine). ETEXI DEF("watchdog", HAS_ARG, QEMU_OPTION_watchdog, \ - "-watchdog i6300esb|ib700\n" \ + "-watchdog model\n" \ " enable virtual hardware watchdog [default=none]\n", QEMU_ARCH_ALL) STEXI @@ -3160,16 +3160,21 @@ STEXI @findex -watchdog Create a virtual hardware watchdog device. Once enabled (by a guest action), the watchdog must be periodically polled by an agent inside -the guest or else the guest will be restarted. +the guest or else the guest will be restarted. Choose a model for +which your guest has drivers. -The @var{model} is the model of hardware watchdog to emulate. Choices -for model are: @code{ib700} (iBASE 700) which is a very simple ISA -watchdog with a single timer, or @code{i6300esb} (Intel 6300ESB I/O -controller hub) which is a much more featureful PCI-based dual-timer -watchdog. Choose a model for which your guest has drivers. - -Use @code{-watchdog help} to list available hardware models. Only one +The @var{model} is the model of hardware watchdog to emulate. Use +@code{-watchdog help} to list available hardware models. Only one watchdog can be enabled for a guest. + +The following models may be available: +@table @option +@item ib700 +iBASE 700 is a very simple ISA watchdog with a single timer. +@item i6300esb +Intel 6300ESB I/O controller hub is a much more featureful PCI-based +dual-timer watchdog. +@end table ETEXI DEF("watchdog-action", HAS_ARG, QEMU_OPTION_watchdog_action, \ -- 2.3.0