debuggers.hg

changeset 20646:4a2fabce4508

libxenlight: xenstore data path writable by the guest

Make the data path on xenstore writable by the guest
because Citrix pv drivers requires it.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Dec 09 10:43:33 2009 +0000 (2009-12-09)
parents e5a757ce7845
children 2c6a04fdf8fb
files tools/libxl/libxl.c
line diff
     1.1 --- a/tools/libxl/libxl.c	Wed Dec 09 10:42:53 2009 +0000
     1.2 +++ b/tools/libxl/libxl.c	Wed Dec 09 10:43:33 2009 +0000
     1.3 @@ -82,9 +82,9 @@ int libxl_domain_make(struct libxl_ctx *
     1.4  {
     1.5      int flags, ret, i;
     1.6      char *uuid_string;
     1.7 -    char *rw_paths[] = { "device", "device/suspend/event-channel" };
     1.8 +    char *rw_paths[] = { "device", "device/suspend/event-channel" , "data"};
     1.9      char *ro_paths[] = { "cpu", "memory", "device", "error", "drivers",
    1.10 -                         "control", "attr", "data", "messages" };
    1.11 +                         "control", "attr", "messages" };
    1.12      char *dom_path, *vm_path, *vss_path;
    1.13      struct xs_permissions roperm[2];
    1.14      struct xs_permissions rwperm[1];