All of lore.kernel.org
 help / color / mirror / Atom feed
From: Muli Ben-Yehuda <muli@il.ibm.com>
To: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: [PATCH] [RFC] Domain name issue
Date: Sun, 18 Jun 2006 12:29:32 +0300	[thread overview]
Message-ID: <20060618092932.GD5892@rhun.ibm.com> (raw)
In-Reply-To: <0C692B8F40423kanno.masaki@jp.fujitsu.com>

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

  reply	other threads:[~2006-06-18  9:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-18  9:24 [PATCH] [RFC] Domain name issue Masaki Kanno
2006-06-18  9:29 ` Muli Ben-Yehuda [this message]
2006-06-19  2:02   ` Masaki Kanno

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=20060618092932.GD5892@rhun.ibm.com \
    --to=muli@il.ibm.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.