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] [PATCH] ioemu: Get guest uuid from xenstore

To: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>, Yosuke Iwamatsu <y-iwamatsu@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] ioemu: Get guest uuid from xenstore
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Mon, 19 Jan 2009 18:16:30 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 19 Jan 2009 10:16:32 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <18804.49176.534448.448249@xxxxxxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acl6Ygz8cQ3dTIYLqUuGJ/aINcLnrg==
Thread-topic: [Xen-devel] [PATCH] ioemu: Get guest uuid from xenstore
User-agent: Microsoft-Entourage/12.15.0.081119
On 19/01/2009 18:02, "Ian Jackson" <Ian.Jackson@xxxxxxxxxxxxx> wrote:

> I don't think this patch is safe.  /local/domain/<domid>/vm is
> owned by (and thus writeable by) the domain in question.  We need a
> trustworthy copy of this information.

Perhaps worth checking with a xenstore-ls -p, or a xenstore-write attempt
within a domU, but the vm node should be owned by dom0 and read-only by the
domU. The recent xenstore permissions fixes should ensure that.

So the patch should be safe and if it's not it's a xend bug that needs
fixing.

 -- Keir



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