Skip to contentSkip to conversation

libxenlight: xenstore data path writable by the guest

PATCH New Stefano Stabellini 1 participant 1 message Dec 8, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libxenlight: xenstore data path writable by the guest

Hi all,
this patch makes the data path on xenstore writable by the guest because Citrix pv drivers requires it.

---

tools/libxl/libxl.c +2 -2
diff -r fe3c8ba27d2f tools/libxl/libxl.c
@@ -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];