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


Re: [Xen-devel] Acquire uuid of user domain X from Dom0

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Acquire uuid of user domain X from Dom0
From: Liran Schour <LIRANS@xxxxxxxxxx>
Date: Mon, 11 Sep 2006 11:09:46 +0300
Delivery-date: Mon, 11 Sep 2006 02:55:10 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C125E3E8.1027%Keir.Fraser@xxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Keir Fraser <Keir.Fraser@xxxxxxxxxxxx> wrote on 07/09/2006 16:57:44:

> On 7/9/06 11:48, "Liran Schour" <LIRANS@xxxxxxxxxx> wrote:
> > I need to get from kernel space in dom0 the UUID of user domain X. How
> > I do that?
> Read it from xenstore, or build one of your source files with
> -D__XEN_TOOLS__ and use the getdomaininfo domctl hypercall. I think
> (1) is better.
How can I read it from xenstore as I can see from examples in the code
xenstore API inside the kernel, like xenbus_read, assumes that we are
already inside the path /local/domain/X ( X = 0 ) and I need information
about domain Y. Any ideas?

- Liran

Xen-devel mailing list