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] [PATCH] [RFC] Domain name issue

To: Muli Ben-Yehuda <muli@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] [RFC] Domain name issue
From: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
Date: Mon, 19 Jun 2006 11:02:43 +0900
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 18 Jun 2006 19:03:39 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20060618092932.GD5892@xxxxxxxxxxxx>
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>
References: <0C692B8F40423kanno.masaki@xxxxxxxxxxxxxx> <20060618092932.GD5892@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi Muli,

Thanks for your information.

Best regards,
 Kan

>On Sun, Jun 18, 2006 at 06:24:09PM +0900, Masaki Kanno wrote:
>Content-Description: Mail message body
>
>> Hi,
>> 
>> When we tested xm commands, we found a issue about a domain name.
>> The domain name can use character '-'. However, when character '-' 
>> was used for the top of the domain name character string, the 
>> following issue was found. 
>> 
>> # xm list
>> Name                              ID Mem(MiB) VCPUs State  Time(s)
>> -domUtemp                          1      512     1 r-----    43.2
>> Domain-0                           0      492     1 r-----   199.2
>> # xm list -domUtemp
>> Error: option -d not recognized
>> 
>> Some xm commands mistook such the domain name for a option. 
>> We suggest the following patch. The patch changes XendDomainInfo.py 
>> not to be able to use character '-' for the top of the domain name 
>> character string. 
>
>The standard way of handling this is to add '--' on the command line
>to tell the program that everything that follows is an argument, not
>an option. I don't know if xm supports this however.
>
>The above command line would then become
>
>xm list -- -domUtemp
>
>Does this work?
>
>Cheers,
>Muli


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

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