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/
Home Products Support Community News


[Xen-devel] Re: domU reading its own xenstore home directory from usersp

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Re: domU reading its own xenstore home directory from userspace
From: Charles Duffy <cduffy@xxxxxxxxxxx>
Date: Mon, 16 Jan 2006 10:34:57 -0600
Delivery-date: Mon, 16 Jan 2006 16:43:18 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20051205130623.GA20687@xxxxxxxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1133556311.9532.38.camel@xxxxxxxxxxxxxxxxxxxxx> <20051205130623.GA20687@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051025 Thunderbird/1.5 Mnenhy/
Ewan Mellor wrote:
> /local/domain/<domid>/vm       Path to this domain's VM store entries
>                      /...      other domain-specific details
One question: Can a domain retrieve its own domid?

Let's say I have /tool/foo/<domid>/key, and I set permissions such that
each domU has appropriate access to its own /tool/foo/<domid>/key. Does
a tool running within the DomU need to iterate through all the
/tool/foo/*/key options until it finds one it has access to, or is there
a better way to determine one's own domid?

Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Re: domU reading its own xenstore home directory from userspace, Charles Duffy <=