From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Andrew D. Ball" Subject: Re: Q: How to find own domid or uuid from domU? Date: Thu, 18 May 2006 11:21:46 -0400 Message-ID: <446C910A.50000@us.ibm.com> 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> <0cbcc9c018815b56e92521554c2cd585@cl.cam.ac.uk> <446C8488.1030503@us.ibm.com> <8d2b2f0e40dfb24f939a81970a493a7f@cl.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <8d2b2f0e40dfb24f939a81970a493a7f@cl.cam.ac.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Good! I've been strapped for time, but will eventually get around to it perhaps. Mike Day's been doing excellent work on it. I think it would be nice if the attribute were called uuid and not vm with "/vm/" prepended. I suppose it's fine to keep "vm" as a shortcut, but a separate UUID attribute is more important, IMHO. Peace. Andrew Keir Fraser wrote: > > On 18 May 2006, at 15:28, Andrew D. Ball wrote: > >> I think it would be really, really good if the UUID would be exposed >> via sysfs in domU's. >> >> Peace. >> Andrew > > > We have a sysfs framework for Xen (xen_sysfs.c) submitted from IBM and > in our tree. Having a uuid attribute in there sounds fine to me -- feel > free to make a patch! You can get the uuid from xenstore as Gerd > described, or add a version hypercall to grab it. > > -- Keir >