From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wei Liu Subject: Re: [PATCH] ocaml/xc: add softreset shutdown reason Date: Thu, 26 Nov 2015 12:11:57 +0000 Message-ID: <20151126121157.GN15747@citrix.com> References: <1447677799-30965-1-git-send-email-wei.liu2@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1a1vP7-0002dA-Nt for xen-devel@lists.xenproject.org; Thu, 26 Nov 2015 12:12:01 +0000 Content-Disposition: inline In-Reply-To: <1447677799-30965-1-git-send-email-wei.liu2@citrix.com> 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 Cc: Ian Jackson , Stefano Stabellini , Wei Liu , Ian Campbell , David Scott List-Id: xen-devel@lists.xenproject.org Dave, ping? On Mon, Nov 16, 2015 at 12:43:19PM +0000, Wei Liu wrote: > According to public/sched.h, there is a new shutdown_reason called > soft_reset. Propagate that value to ocaml. > > Signed-off-by: Wei Liu > --- > Cc: David Scott > Cc: Ian Jackson > Cc: Stefano Stabellini > Cc: Ian Campbell > --- > 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 beb95b8..41d228d 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 | Watchdog > +type shutdown_reason = Poweroff | Reboot | Suspend | Crash | Watchdog | Soft_reset > > 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 8928a2e..b4a175b 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 | Watchdog > +type shutdown_reason = Poweroff | Reboot | Suspend | Crash | Watchdog | Soft_reset > > type domain_create_flag = CDF_HVM | CDF_HAP > > -- > 2.1.4 >