[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Re: find domain name from domid?

  • To: "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>
  • From: "Jun Koi" <junkoi2004@xxxxxxxxx>
  • Date: Wed, 17 Dec 2008 17:50:30 +0900
  • Cc: "List: Xen Developers" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Wed, 17 Dec 2008 00:50:53 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=XgQ5juReqm5goK9SPLmwAU1dOH7DPMW37OFycXg/4bO48Nlrsc2D7EVBCKi+Wfay1j BBayPAnp3rIe3tQIZOzB74ydf/w7Ga6yHbwGvFNIKBQnd3EhVK/Jj3lyftd3Lk+ZbkpG 25KDWkdJ4HpKDbVXN6Ys9/qUTLFlmoZOCpxn4=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

On Wed, Dec 17, 2008 at 5:28 PM, Keir Fraser <keir.fraser@xxxxxxxxxxxxx> wrote:
> On 17/12/2008 04:23, "Jun Koi" <junkoi2004@xxxxxxxxx> wrote:
>>> And vice versa, any quick way to find domid from domain name (with libxc)?
>> Clearly we can get domain name from xenstore, given its domid. But
>> vice versa (name --> domid), I dont see any way beside scanning the
>> xenstore tree. And that seems suboptimal to me. Idea?
> Why would you want to do that?

I need that so my program can work with domain name, rather than with
"less meaning full" domid. Now given the domain name, I must find its
domid, since all libxc functions work with domid, but not domain name.


Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.