|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] Many same managed domain
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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|