This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] [PATCH] Fix xm save timeout with paused domains

To: Keir Fraser <keir@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Fix xm save timeout with paused domains
From: John Levon <levon@xxxxxxxxxxxxxxxxx>
Date: Tue, 8 May 2007 18:14:35 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 08 May 2007 10:08:13 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C266662A.E8A4%keir@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20070508163745.GB19237@xxxxxxxxxxxxxxxxxxxxxxx> <C266662A.E8A4%keir@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
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,


Xen-devel mailing list