WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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 17:37:45 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 08 May 2007 09:31:26 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C266635A.E89A%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: <20070508162549.GA19237@xxxxxxxxxxxxxxxxxxxxxxx> <C266635A.E89A%keir@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Tue, May 08, 2007 at 05:26:50PM +0100, Keir Fraser wrote:

> >> How about just not pausing a domain that you're going to save?
> > 
> > This doesn't work when you're doing tight save/restore / migration
> > loops, where the unpausing happens after plugging virtual devices for
> > the new domain. This can cause the timer to expire before we unpause the
> > domain and give it a chance to update its frame list entry.
> 
> Hmm.. Perhaps 'xm restore/migrate' shouldn't return until the new domain is
> actually running.

This wouldn't protect against requests via the Xen API.

> Or (probably easier) xend should hold save requests pending until the
> domain concerned is unpaused?

If you'd prefer it there, that's probably possible too.

regards
john

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel