From: Ian Campbell Subject: Re: [PATCH v2] xl: track child processes for the benefit of libxl Date: Tue, 29 May 2012 10:08:46 +0100 Message-ID: <1338282526.14158.76.camel@zakaz.uk.xensource.com> References: <20406.37918.733921.594303@mariner.uk.xensource.com> <1337938671.22311.19.camel@zakaz.uk.xensource.com> <20415.26067.107790.804355@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20415.26067.107790.804355@mariner.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 Jackson Cc: Roger Pau Monne , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Fri, 2012-05-25 at 11:58 +0100, Ian Jackson wrote: > 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. No problem, I'm going to fold in my incremental fix, ack and apply. Ian.