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] Should "xm restore" be able to create two domains with t

To: "Petersson, Mats" <Mats.Petersson@xxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Should "xm restore" be able to create two domains with the same name?
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Fri, 18 May 2007 14:55:22 +0100
Delivery-date: Fri, 18 May 2007 06:53:59 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <907625E08839C4409CE5768403633E0B018E1D48@xxxxxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AceZU2xSKqeqRq69R4u5QdmVPAVOfAAAMEA1
Thread-topic: [Xen-devel] Should "xm restore" be able to create two domains with the same name?
User-agent: Microsoft-Entourage/11.3.3.061214


On 18/5/07 14:49, "Petersson, Mats" <Mats.Petersson@xxxxxxx> wrote:

> If I do "xm save dom file", followed by "xm restore file; xm restore
> file", I get two domains with the same name. Surely, that's not quite
> right? [Particularly since they both will be using the same disk-image,
> etc]. 

You shouldn't do that. ;-)

The second restore ought to fail when xend (or the hotplug scripts) realise
that the block device is already in use.

 -- Keir



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