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

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


  • To: Jun Koi <junkoi2004@xxxxxxxxx>, "List: Xen Developers" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
  • Date: Wed, 17 Dec 2008 08:28:39 +0000
  • Cc:
  • Delivery-date: Wed, 17 Dec 2008 00:28:44 -0800
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AclgIXYyPGppUNFtPUeTFAhpoOSJ/g==
  • Thread-topic: [Xen-devel] Re: find domain name from domid?

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?

Doubtless you can add lookup both ways via xenstore if you need it. I
wouldn't necessarily take the patches though.

-- Keir



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


 


Rackspace

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