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: "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Re: find domain name from domid?
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=t5qLoAy7eHmvQDk7al5kvJdR97hgihzLeNmRKkQABdQ=; b=jzw+Dh6rd9YyBW3q0x4C1kwD0T38F/zsoi8L/lVh9U+cylYwouvGXnFOokfhrDYSok 7YyvqPt8QG36b6qYMb0h/DAEy518hGz5kyhD33ChpfjnGAR5QUxcWVfNriVt/2BDreqc wZbNn+ma6Tgh7NkQ7h1sU0EageDQiDDcgZy70=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C56E68B7.204AB%keir.fraser@xxxxxxxxxxxxx>
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>
References: <fdaac4d50812162023u664af74fu7a90e18ea823b59a@xxxxxxxxxxxxxx> <C56E68B7.204AB%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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.

Thanks,
Jun

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