From: Keir Fraser Subject: Re: [PATCH] /sys/hypervisor/uuid Date: Thu, 18 May 2006 21:30:55 +0100 Message-ID: References: <87y7wzmeqb.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: <87y7wzmeqb.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 list , Christian Limpach List-Id: xen-devel@lists.xenproject.org On 18 May 2006, at 18:20, Markus Armbruster wrote: > New /sys/hypervisor/uuid, containing this domain's UUID. > > Stripping off /vm/ from the value of vm to get the UUID isn't exactly > nice. The alternative is to add a XENVER_get_uuid code to > HYPERVISOR_xen_version(), but I'm not sure that's worth it. > > Signed-off-by: Markus Armbruster Christian has a fair point that, if you're just reading it out of xenstore, you could do that directly from user space. I suppose there is an argument of necessary privileges to do so however, since you need to be root to open the xenstore device file. -- Keir