From: Simon Rowe Subject: [PATCH] ocaml/xc: correct shutdown_reason enumeration Date: Thu, 5 Nov 2015 11:39:05 +0000 Message-ID: <1446723545-31209-1-git-send-email-simon.rowe@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZuIsz-0006nn-Bp for xen-devel@lists.xenproject.org; Thu, 05 Nov 2015 11:39:21 +0000 List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org Cc: wei.liu2@citrix.com, ian.campbell@citrix.com, stefano.stabellini@eu.citrix.com, ian.jackson@eu.citrix.com, Simon Rowe , dave@recoil.org List-Id: xen-devel@lists.xenproject.org As defined by the Xen public header the fifth value of shutdown_reason is watchdog. Signed-off-by: Simon Rowe --- tools/ocaml/libs/xc/xenctrl.ml | 2 +- tools/ocaml/libs/xc/xenctrl.mli | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/ocaml/libs/xc/xenctrl.ml b/tools/ocaml/libs/xc/xenctrl.ml index b7ba8b7..beb95b8 100644 --- a/tools/ocaml/libs/xc/xenctrl.ml +++ b/tools/ocaml/libs/xc/xenctrl.ml @@ -89,7 +89,7 @@ type compile_info = compile_date : string; } -type shutdown_reason = Poweroff | Reboot | Suspend | Crash | Halt +type shutdown_reason = Poweroff | Reboot | Suspend | Crash | Watchdog type domain_create_flag = CDF_HVM | CDF_HAP diff --git a/tools/ocaml/libs/xc/xenctrl.mli b/tools/ocaml/libs/xc/xenctrl.mli index bc4af56..8928a2e 100644 --- a/tools/ocaml/libs/xc/xenctrl.mli +++ b/tools/ocaml/libs/xc/xenctrl.mli @@ -61,7 +61,7 @@ type compile_info = { compile_domain : string; compile_date : string; } -type shutdown_reason = Poweroff | Reboot | Suspend | Crash | Halt +type shutdown_reason = Poweroff | Reboot | Suspend | Crash | Watchdog type domain_create_flag = CDF_HVM | CDF_HAP -- 1.7.10.4