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] Q: How to find own domid or uuid from domU?

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Q: How to find own domid or uuid from domU?
From: Markus Armbruster <armbru@xxxxxxxxxx>
Date: Thu, 18 May 2006 15:18:28 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 18 May 2006 06:18:49 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <c7b7a9451577705256438d2456881321@xxxxxxxxxxxx> (Keir Fraser's message of "Thu, 18 May 2006 13:27:35 +0100")
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: <87fyj7ravp.fsf@xxxxxxxxxxxxxxxxx> <9c6da8341e7021597b69a4a4d941e993@xxxxxxxxxxxx> <877j4jr7gd.fsf@xxxxxxxxxxxxxxxxx> <87882c2fef4a6cb52eeb9881d1b4ca4a@xxxxxxxxxxxx> <87r72rppv2.fsf@xxxxxxxxxxxxxxxxx> <c7b7a9451577705256438d2456881321@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)
Keir Fraser <Keir.Fraser@xxxxxxxxxxxx> writes:

> On 18 May 2006, at 11:52, Markus Armbruster wrote:
>
>>> Why does your guest need to know its ID?
>>
>> So that managament tools have a way of associating a running domain
>> with persistent state such as config files, regardless of where on a
>> network the domain is running at any time.
>
> If it's only management tools looking to obtain info about other
> running domains, there's already a dom0_op for querying uuid info.
>
> Is there any reason a domain needs to know its *own* uuid?

It's management tools looking to obtain info about their own domain.

Consider a network-enabled stat-gathering, managing, or monitoring
tool running on domU.  It wants to uniquely identify itself to the
peer.  IP or MAC can work in some environments, but in others they're
ephemeral.  UUID would be much better.  It's the only thing that known
never to change, isn't it?

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