All of lore.kernel.org
 help / color / mirror / Atom feed
From: Luke S Crawford <lsc@prgmr.com>
To: "dan.magenheimer@oracle.com" <dan.magenheimer@oracle.com>
Cc: "Xen-Devel (E-mail)" <xen-devel@lists.xensource.com>
Subject: Re: Domid for just created domain?
Date: 31 May 2008 00:20:27 -0400	[thread overview]
Message-ID: <m34p8fayus.fsf@luke.xen.prgmr.com> (raw)
In-Reply-To: <20080530210127703.00000003600@djm-pc>

"Dan Magenheimer" <dan.magenheimer@oracle.com> writes:
> Is there any easy way in a shell script to find out the
> domid of "the domain I just created" with xm create?

xm create domain
xm list domain 

is the best way I know of getting it... you just need to sed it out.  

But usually I try not to use the numeric domain id for anything;  if you
set vifname= on the vif= line, to my knowledge there isn't anything
you can't do with symbolic names that you can do with the numeric id.  

  reply	other threads:[~2008-05-31  4:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-31  3:01 Domid for just created domain? Dan Magenheimer
2008-05-31  4:20 ` Luke S Crawford [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-05-31  8:25 James Harper
2008-05-31 14:06 ` Dan Magenheimer

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=m34p8fayus.fsf@luke.xen.prgmr.com \
    --to=lsc@prgmr.com \
    --cc=dan.magenheimer@oracle.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.