From: Wei Liu <wei.liu2@citrix.com>
To: Xen-devel <xen-devel@lists.xenproject.org>
Cc: Ian Jackson <ian.jackson@eu.citrix.com>,
Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
Wei Liu <wei.liu2@citrix.com>,
Ian Campbell <ian.campbell@citrix.com>,
David Scott <dave@recoil.org>
Subject: Re: [PATCH] ocaml/xc: add softreset shutdown reason
Date: Thu, 26 Nov 2015 12:11:57 +0000 [thread overview]
Message-ID: <20151126121157.GN15747@citrix.com> (raw)
In-Reply-To: <1447677799-30965-1-git-send-email-wei.liu2@citrix.com>
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 <wei.liu2@citrix.com>
> ---
> Cc: David Scott <dave@recoil.org>
> Cc: Ian Jackson <ian.jackson@eu.citrix.com>
> Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
> Cc: Ian Campbell <ian.campbell@citrix.com>
> ---
> 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
>
next prev parent reply other threads:[~2015-11-26 12:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-16 12:43 [PATCH] ocaml/xc: add softreset shutdown reason Wei Liu
2015-11-26 12:11 ` Wei Liu [this message]
2015-11-26 12:13 ` David Scott
2015-12-01 12:38 ` Ian Campbell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151126121157.GN15747@citrix.com \
--to=wei.liu2@citrix.com \
--cc=dave@recoil.org \
--cc=ian.campbell@citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=stefano.stabellini@eu.citrix.com \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.