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] Is it valid to permit numeric only DomName ?

To: "Yoshinori Katase" <y_katase@xxxxxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] Is it valid to permit numeric only DomName ?
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Wed, 28 Dec 2005 16:20:22 +1100
Delivery-date: Wed, 28 Dec 2005 05:24:27 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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: AcYLa5hgKE1/nfF9RJ+1aDFQrwfE/gAAqY6g
Thread-topic: [Xen-devel] Is it valid to permit numeric only DomName ?
I have visions of the "who's on first" sketch in my head...

:)

I assume you are pointing this out because you see it as a bug, not
because it is something you would ever actually want to do?

James

> -----Original Message-----
> From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-devel-
> bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Yoshinori Katase
> Sent: Wednesday, 28 December 2005 16:00
> To: xen-devel@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-devel] Is it valid to permit numeric only DomName ?
> 
> Hi,
> 
> Now, Domname is permitted numeric only name.
> It is permitted even 0 !
> Is this a specification ?
> 
> # xm list
> Name                              ID Mem(MiB) VCPUs State  Time(s)
> Domain-0                           0      512     1 r-----   503.1
> 22                                21       64     1 ------     1.2
> 21                                22       64     1 -b----     1.0
> 
> I typed "xm shutdown 21", when I want to shutdown DomID 21.
> But this command shutdowned Domname 21.
> 
> # xm shutdown 21
> # xm list
> Name                              ID Mem(MiB) VCPUs State  Time(s)
> Domain-0                           0      512     1 r-----   506.0
> 22                                21       64     1 -b----     1.2
> 
> It seems that the priority is given to Domname.
> But Domname "0" is an exception.
> 
> # xm list
> Name                              ID Mem(MiB) VCPUs State  Time(s)
> Domain-0                           0      512     1 r-----   521.8
> 0                                 23       64     1 -b----     1.0
> # xm shutdown 0
> Error: Can't specify Domain-0
> 
> This is serious, when many domains are running.
> To avoid confusion, Domname shuld be an identifier.
> That is the first letter of Domname shuld be alphabetic.
> Am I wrong ?
> 
> Best Regards,
> Yoshinori Katase
> 
> 
> 
> _______________________________________________
> 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

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