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

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

To: "List: Xen Developers" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Re: find domain name from domid?
From: "Jun Koi" <junkoi2004@xxxxxxxxx>
Date: Wed, 17 Dec 2008 13:23:51 +0900
Delivery-date: Tue, 16 Dec 2008 20:24:26 -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:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=PlrWD03FisJdKysCYwqB5HSK8z4IPL5DQ5WHEuJMmXs=; b=BE1VVqZF8GVlKmAoTjiyb06wqF1Xc933sMiwGaJtFzR7WuL9VDBIv73A2nC4TTECvq N14Wor8luoUtD0GbVOjuzno1buEFJrGBzdF+OhZrcZg8eCNeGQswRTv+XLcQkj8v8KEw PqPwgpmkEBbUsUV1zre8hCmMdulZJBzPropbU=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=VUQ07wUz6x7rc5t5AsSKntWLg7b1uvOFlWBskJncW0ggMhLSr850DdgWIBD+BKKIaq xNH7GSYzOFmIAxEUJBILT9xAbm5NXcHcxoSSV0RZkQGe4VSvTSv5DqtwaSJ9+/DwdSsh tQQJ6UtkUXi5jOllQNiqo3lxghDsyJVijdI7U=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <fdaac4d50812162006u60658edckfc77909a1ef0be90@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>
References: <fdaac4d50812161959w54ad45d8p128d1cec02c2e7f3@xxxxxxxxxxxxxx> <fdaac4d50812162006u60658edckfc77909a1ef0be90@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Wed, Dec 17, 2008 at 1:06 PM, Jun Koi <junkoi2004@xxxxxxxxx> wrote:
> On Wed, Dec 17, 2008 at 12:59 PM, Jun Koi <junkoi2004@xxxxxxxxx> wrote:
>> Hi,
>>
>> I want to find a domain name from domid. Is that possible with only
>> libxc? Or the domain name is only exist at higher level, with xm and
>> python code?
>>
>
> 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?

Thanks,
Jun

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