From: John Levon Subject: Re: [PATCH] Fix xm save timeout with paused domains Date: Tue, 8 May 2007 18:14:35 +0100 Message-ID: <20070508171435.GC19237@totally.trollied.org.uk> References: <20070508163745.GB19237@totally.trollied.org.uk> 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: Keir Fraser Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Tue, May 08, 2007 at 05:38:50PM +0100, Keir Fraser wrote: > I think xend is the obvious place to implement this type of synchronisation. I think I agree. It would be easy if we were to just loop until the domain gets unpaused but that's not really quite the correct fix, since we ideally want 'xm save' to fail cleanly if the domain is paused (I vaguely remember seeing a patch for this go past?). > The only question is how hard it will be to add in. Maybe a xenstore entry for the domain which is written just after the .unpause() (the absence of this would also prevent xm pause, xm destroy, perhaps) regards john