From: "Yoshinori Katase" Subject: Is it valid to permit numeric only DomName ? Date: Wed, 28 Dec 2005 14:00:17 +0900 Message-ID: <20051228045939.F381A1C004@mail1-sv.soft.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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