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: Mon, 22 May 2006 14:36:23 -0400 Message-ID: <447204A7.2070909@us.ibm.com> References: <87fyj7ravp.fsf@pike.pond.sub.org> <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> <446C910A.50000@us.ibm.com> <3d8eece20605180959i5b06dbd2q3f66ebfeba0be255@mail.gmail.com> <4471C827.70100@us.ibm.com> <3d8eece20605220745j1920a983w96facb3ea9e23e82@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <3d8eece20605220745j1920a983w96facb3ea9e23e82@mail.gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Christian.Limpach@cl.cam.ac.uk, xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Christian Limpach wrote: > On 5/22/06, Andrew D. Ball wrote: > >> Christian Limpach wrote: >> > There's a uuid node under the vm path. I.e. you'd do: >> > vmpath=$(xenstore-read vm) >> > uuid=$(xenstore-read $vmpath/uuid) >> >> Since I'm interested in instead of /vm/, I'd like to see >> by itself in xenstore. > > > Yes, you shouldn't parse the uuid out of the path you get when reading > the vm node, but instead you should read the uuid node in the domain's > vm tree, as I described in the text you quoted (*sigh*). > Sorry -- I should have read more attentively. Thanks. Andrew > christian > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel