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] Error checking on migration?

To: Anthony Liguori <aliguori@xxxxxxxxxx>
Subject: Re: [Xen-devel] Error checking on migration?
From: Ewan Mellor <ewan@xxxxxxxxxxxxx>
Date: Tue, 6 Jun 2006 12:02:10 +0100
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, John Byrne <john.l.byrne@xxxxxx>
Delivery-date: Tue, 06 Jun 2006 04:02:33 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4484ED5E.6070503@xxxxxxxxxx>
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: <4484DFF7.5050601@xxxxxx> <4484ED5E.6070503@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Mon, Jun 05, 2006 at 09:50:06PM -0500, Anthony Liguori wrote:

> John Byrne wrote:
> >
> >I've noticed that migration doesn't fail if the VM cannot access the 
> >disk image on the new host. (xen-unstable 10273)  The VM ends up on 
> >the new host and hangs when it does a disk access. This is a somewhat 
> >evil behavior.
> 
> You could add some basic sanity checking in XendRestore.py:restore() 
> before xd.restore_() is invoked.  A consequence of doing device setup 
> through scripts is that the only proper way to know if a device creation 
> will succeed is by actually creating it.  It's further complicated by 
> the race condition that results by doing the checking before actually 
> grabbing the devices (what if another migration is in progress that 
> happens to use the same devices).

Also, migration to localhost is very useful for testing, so it's also 
complicated by the fact that the outgoing domain is using the devices
when the process starts, so you have to be careful to do the checks with
that in mind.

Ewan.

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

<Prev in Thread] Current Thread [Next in Thread>