All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Daniel P. Berrange" <berrange@redhat.com>
To: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
Cc: "Petersson, Mats" <Mats.Petersson@amd.com>,
	xen-devel <xen-devel@lists.xensource.com>
Subject: Re: Should "xm restore" be able to create two domains with the same name?
Date: Fri, 18 May 2007 15:08:03 +0100	[thread overview]
Message-ID: <20070518140803.GE338@redhat.com> (raw)
In-Reply-To: <C2736EDA.F2A1%Keir.Fraser@cl.cam.ac.uk>

On Fri, May 18, 2007 at 02:55:22PM +0100, Keir Fraser wrote:
> 
> 
> 
> On 18/5/07 14:49, "Petersson, Mats" <Mats.Petersson@amd.com> 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.

The second restore ought to fail before it gets anywhere near hotplug
scripts. XenD should be enforcing name & UUID uniqueness when creating
guest VMs.  Even 'xm create' lets you start the same guest twice 

http://lists.xensource.com/archives/html/xen-devel/2007-04/msg00279.html

Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

  reply	other threads:[~2007-05-18 14:08 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-18 13:49 Should "xm restore" be able to create two domains with the same name? Petersson, Mats
2007-05-18 13:55 ` Keir Fraser
2007-05-18 14:08   ` Daniel P. Berrange [this message]
2007-05-18 14:42     ` Keir Fraser
2007-05-18 15:45       ` Petersson, Mats
2007-05-22 11:16     ` Petersson, Mats
2007-05-22 12:02       ` Petersson, Mats
2007-05-22 12:23         ` Petersson, Mats
2007-05-18 14:19   ` Petersson, Mats

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070518140803.GE338@redhat.com \
    --to=berrange@redhat.com \
    --cc=Keir.Fraser@cl.cam.ac.uk \
    --cc=Mats.Petersson@amd.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.