From: Dave Scott Subject: Re: [PATCH] libxl: a domain can be dying but not shutdown Date: Tue, 4 Nov 2014 11:34:17 +0000 Message-ID: <548CAAED-A0E4-43A9-81A5-398D906DFF7F@citrix.com> References: <1413985962-31909-1-git-send-email-dave.scott@citrix.com> <5447BA71.9030405@citrix.com> <1414057369.19198.28.camel@citrix.com> <5448D1C2.9050700@citrix.com> <1415098124.11486.21.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XlcNQ-0008PI-Rv for xen-devel@lists.xenproject.org; Tue, 04 Nov 2014 11:34:20 +0000 In-Reply-To: <1415098124.11486.21.camel@citrix.com> Content-Language: en-US Content-ID: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: Wei Liu , Euan Harris , Andrew Cooper , Rob Hoes , Stefano Stabellini , "xen-devel@lists.xenproject.org" , Ian Jackson List-Id: xen-devel@lists.xenproject.org > On 4 Nov 2014, at 10:48, Ian Campbell wrote: > > On Thu, 2014-10-23 at 11:00 +0100, Andrew Cooper wrote: > >>> Did you instead mean this from libxl_types.idl: >>> # Valid iff (shutdown||dying). >>> # >>> # Otherwise set to a value guaranteed not to clash with any valid >>> # LIBXL_SHUTDOWN_REASON_* constant. >>> ("shutdown_reason", libxl_shutdown_reason), >>> ? >> >> That is the primary comment I was on about. > > This wasn't tagged for 4.5 but it is a bug fix and the commit log & > associated commentary were pretty convincing, so Acked + Applied with > the additional hunk below folded in. > > diff --git a/tools/libxl/libxl_types.idl b/tools/libxl/libxl_types.idl > index ca3f724..f7fc695 100644 > --- a/tools/libxl/libxl_types.idl > +++ b/tools/libxl/libxl_types.idl > @@ -260,7 +260,7 @@ libxl_dominfo = Struct("dominfo",[ > ("shutdown", bool), > ("dying", bool), > > - # Valid iff (shutdown||dying). > + # Valid iff ->shutdown is true. Great, thanks for doing this (after I forgot!) Cheers, Dave > # > # Otherwise set to a value guaranteed not to clash with any valid > # LIBXL_SHUTDOWN_REASON_* constant. > >