All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mats Petersson <mats@planetcatfish.com>
To: Masaki Kanno <kanno.masaki@jp.fujitsu.com>,
	xen-devel@lists.xensource.com
Subject: Re: Many same managed domain
Date: Sun, 22 Jul 2007 11:30:52 +0100	[thread overview]
Message-ID: <46a33202.1636440a.6636.72b9@mx.google.com> (raw)
In-Reply-To: <91C7CC1E6AF558kanno.masaki@jp.fujitsu.com>

At 06:09 22/07/2007, Masaki Kanno wrote:
>Hi,
>
>When I tested xm new command without uuid parameter repeatedly,
>I saw many same managed domain as follows.
>
># xm list
>Name                                        ID   Mem 
>VCPUs      State   Time(s)
>Domain-0                                     0   941     2     r-----     51.9
># xm new /xen/vm1.conf
>Using config file "/xen/vm1.conf".
># xm new /xen/vm1.conf
>Using config file "/xen/vm1.conf".
># xm new /xen/vm1.conf
>Using config file "/xen/vm1.conf".
># xm list
>Name                                        ID   Mem 
>VCPUs      State   Time(s)
>Domain-0                                     0   941     2     r-----     56.3
>vm1                                              256     1                 0.0
>vm1                                              256     1                 0.0
>vm1                                              256     1                 0.0
>
>
>But, when I tested xm new command with uuid parameter repeatedly,
>I did not see same managed domain as follows.
>
># xm list
>Name                                        ID   Mem 
>VCPUs      State   Time(s)
>Domain-0                                     0   941     2     r-----     69.9
># xm new /xen/vm1.conf uuid="aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
>Using config file "/xen/vm1.conf".
># xm new /xen/vm1.conf uuid="aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
>Using config file "/xen/vm1.conf".
># xm new /xen/vm1.conf uuid="aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
>Using config file "/xen/vm1.conf".
># xm list
>Name                                        ID   Mem 
>VCPUs      State   Time(s)
>Domain-0                                     0   941     2     r-----     74.4
>vm1                                              256     1                 0.0
>
>
>I think that xm new command should cause a command error if without
>uuid parameter.  What do you think?


Either that, or check that the name isn't a duplicate - I added such 
a check for "xm create" and "xm restore" about two months ago, 
because it would allow multiple instances of the same domain (with 
the same UUID - something I never got to the bottom of).

--
Mats



>Best regards,
>  Kan
>
>
>
>_______________________________________________
>Xen-devel mailing list
>Xen-devel@lists.xensource.com
>http://lists.xensource.com/xen-devel

  reply	other threads:[~2007-07-22 10:30 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-22  5:09 Many same managed domain Masaki Kanno
2007-07-22 10:30 ` Mats Petersson [this message]
2007-07-24  2:36   ` Masaki Kanno
2007-07-22 14:46 ` Daniel P. Berrange
2007-07-22 22:20   ` Mats Petersson
2007-07-24  3:12   ` Masaki Kanno
2007-07-24 13:25     ` Daniel Berrange
2007-07-24 14:47       ` Masaki Kanno
     [not found]   ` <9BC7CDA074E023kanno.masaki@jp.fujitsu. com>
2007-07-25  0:16     ` Jim Fehlig
2007-07-25  7:16       ` Masaki Kanno
2007-07-25 13:23       ` Daniel P. Berrange
2007-07-26 17:20       ` Jim Fehlig

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=46a33202.1636440a.6636.72b9@mx.google.com \
    --to=mats@planetcatfish.com \
    --cc=kanno.masaki@jp.fujitsu.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.