[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v5 3/9] libxl: support SHUTDOWN_soft_reset shutdown reason
On Thu, 2014-12-11 at 14:45 +0100, Vitaly Kuznetsov wrote: > Use letter 't' to indicate a domain in such state. > > Signed-off-by: Vitaly Kuznetsov <vkuznets@xxxxxxxxxx> > --- > tools/libxl/libxl_types.idl | 1 + > tools/libxl/xl_cmdimpl.c | 2 +- > tools/python/xen/lowlevel/xl/xl.c | 1 + > 3 files changed, 3 insertions(+), 1 deletion(-) > > diff --git a/tools/libxl/libxl_types.idl b/tools/libxl/libxl_types.idl > index f7fc695..4a0e2be 100644 > --- a/tools/libxl/libxl_types.idl > +++ b/tools/libxl/libxl_types.idl > @@ -175,6 +175,7 @@ libxl_shutdown_reason = Enumeration("shutdown_reason", [ > (2, "suspend"), > (3, "crash"), > (4, "watchdog"), > + (5, "soft_reset"), Please add a LIBXL_HAVE_... define to libxl.h (LIBXL_HAVE_SHUTDWON_REASON_SOFT_RESET, I think). There are examples in there to copy (and a comment describing why etc). NB: xl and the python bindings are in tree and therefore you don't need to actually use this #define in the othyer two hunks, it's for 3rd party uses of libxl. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |