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

[Xen-devel] [PATCH] ioemu: Get guest uuid from xenstore

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] ioemu: Get guest uuid from xenstore
From: Yosuke Iwamatsu <y-iwamatsu@xxxxxxxxxxxxx>
Date: Tue, 20 Jan 2009 11:12:33 +0900
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 19 Jan 2009 18:14:01 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C59A73FE.2114F%keir.fraser@xxxxxxxxxxxxx>
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>
References: <C59A73FE.2114F%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.19 (Windows/20081209)
Keir Fraser wrote:
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.

I checked with 'xenstore-ls -p' on my system and could confirm that
the permission of /local/domain/<domid>/vm was set properly
(owned by dom0 and set read-only by domU), apparently since cs 18933.

Thanks,
  Yosuke



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