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: Jacob Gorm Hansen <jacobg@xxxxxxx>, Liran Schour <LIRANS@xxxxxxxxxx>
Subject: Re: [Xen-devel] Acquire uuid of user domain X from Dom0
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Mon, 11 Sep 2006 18:00:07 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 11 Sep 2006 10:09:56 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <e08041f30609111001k4cb794c5g1452c5d716ecdc92@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/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
Thread-index: AcbVw7uj+htsakG2EduR3QANk04WTA==
Thread-topic: [Xen-devel] Acquire uuid of user domain X from Dom0
User-agent: Microsoft-Entourage/
On 11/9/06 6:01 pm, "Jacob Gorm Hansen" <jacobg@xxxxxxx> wrote:

>> 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?
> I am be wrong here, but I don't think you are supposed to use the UUID
> inside the kernel, as this is a Xend-only construct.

It is available, with the caveat that its semantics across things like
save/restore is not really well-defined (what happens if a VM forks, for

 -- Keir

Xen-devel mailing list