From: Keir Fraser Subject: Re: Q: How to find own domid or uuid from domU? Date: Thu, 18 May 2006 14:29:54 +0100 Message-ID: <0cbcc9c018815b56e92521554c2cd585@cl.cam.ac.uk> References: <87fyj7ravp.fsf@pike.pond.sub.org> <9c6da8341e7021597b69a4a4d941e993@cl.cam.ac.uk> <877j4jr7gd.fsf@pike.pond.sub.org> <87882c2fef4a6cb52eeb9881d1b4ca4a@cl.cam.ac.uk> <87r72rppv2.fsf@pike.pond.sub.org> <87iro3pj2z.fsf@pike.pond.sub.org> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <87iro3pj2z.fsf@pike.pond.sub.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Markus Armbruster Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 18 May 2006, at 14:18, Markus Armbruster wrote: >> 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? Ok makes sense. Adding a new op to the version hypercall will be fine. -- Keir