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/
Home Products Support Community News


[Xen-devel] [PATCH] libxenlight: xenstore data path writable by the gues

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] libxenlight: xenstore data path writable by the guest
From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Date: Tue, 8 Dec 2009 18:07:56 +0000
Delivery-date: Tue, 08 Dec 2009 10:05:32 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)
Hi all,
this patch makes the data path on xenstore writable by the guest
because Citrix pv drivers requires it.

Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>


diff -r fe3c8ba27d2f tools/libxl/libxl.c
--- a/tools/libxl/libxl.c       Tue Dec 08 17:02:15 2009 +0000
+++ b/tools/libxl/libxl.c       Tue Dec 08 17:48:01 2009 +0000
@@ -82,9 +82,9 @@
     int flags, ret, i;
     char *uuid_string;
-    char *rw_paths[] = { "device", "device/suspend/event-channel" };
+    char *rw_paths[] = { "device", "device/suspend/event-channel" , "data"};
     char *ro_paths[] = { "cpu", "memory", "device", "error", "drivers",
-                         "control", "attr", "data", "messages" };
+                         "control", "attr", "messages" };
     char *dom_path, *vm_path, *vss_path;
     struct xs_permissions roperm[2];
     struct xs_permissions rwperm[1];

Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] libxenlight: xenstore data path writable by the guest, Stefano Stabellini <=