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] Re: find domain name from domid?

To: Jun Koi <junkoi2004@xxxxxxxxx>, "List: Xen Developers" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Re: find domain name from domid?
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
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <fdaac4d50812162023u664af74fu7a90e18ea823b59a@xxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AclgIXYyPGppUNFtPUeTFAhpoOSJ/g==
Thread-topic: [Xen-devel] Re: find domain name from domid?
User-agent: Microsoft-Entourage/12.14.0.081024
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