From: Ian Jackson Subject: Re: [PATCH v2] xl: track child processes for the benefit of libxl Date: Fri, 25 May 2012 11:58:27 +0100 Message-ID: <20415.26067.107790.804355@mariner.uk.xensource.com> References: <20406.37918.733921.594303@mariner.uk.xensource.com> <1337938671.22311.19.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1337938671.22311.19.camel@zakaz.uk.xensource.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: Ian Campbell Cc: Roger Pau Monne , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: [PATCH v2] xl: track child processes for the benefit of libxl"): > On Fri, 2012-05-18 at 19:25 +0100, Ian Jackson wrote: > > Each time xl forks, it needs to record the pid, so that its exit > > I was just about to apply this but testing with pygrub gives me: ... > I think the return codes of xl_reaped_callback are just bogus, according > to the comment it should return 0 if it knows the child, > ERROR_UNKNOWN_CHILD if not and anything else is a disaster. Incremental > fix is: Ooops, I'm sorry. I broke this when I removed the CHILD_LIST macro stuff. Ian.