From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH] libxl: a domain can be dying but not shutdown Date: Tue, 4 Nov 2014 11:35:45 +0000 Message-ID: <1415100945.11486.32.camel@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> <548CAAED-A0E4-43A9-81A5-398D906DFF7F@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 1XlcPK-0000DN-Ge for xen-devel@lists.xenproject.org; Tue, 04 Nov 2014 11:36:18 +0000 In-Reply-To: <548CAAED-A0E4-43A9-81A5-398D906DFF7F@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: Dave Scott 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 Tue, 2014-11-04 at 11:34 +0000, Dave Scott wrote: > > 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!) It was easier than pinging ;-)