From: Ewan Mellor Subject: Re: [PATCH] Improve XendCheckpoint's forkHelper error handling Date: Sat, 16 Dec 2006 12:51:11 +0000 Message-ID: <20061216125111.GA1239@leeni.uk.xensource.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Brendan Cully Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Wed, Dec 13, 2006 at 05:46:12PM -0700, Brendan Cully wrote: > # HG changeset patch > # User Brendan Cully > # Date 1166060750 28800 > # Node ID f2e7504c6693b80c98bb0b5368f3f7a4e5021333 > # Parent 147608edc24993eaff17fd57709c77b8e2fee6b2 > Improve XendCheckpoint's forkHelper error handling. > > When inputHandler raises an exception, close stdin and stdout in the > child before attempting to close stderr, which is held open by a > separate thread. Without this patch, exceptions raised by device > migration caused xend to hang on child.childerr.close(). > > Signed-off-by: Brendan Cully Applied, thanks Brendan, and sorry about the delay. Ewan.