[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [RFC PATCH 4/6] libxl: add guest writable xenstore area for driver versions
Paul Durrant writes ("[RFC PATCH 4/6] libxl: add guest writable xenstore area for driver versions"): > docs/misc/xenstore-paths documents a path format that can be used by > guests to supply version information for PV drivers. > > This patch creates a guest writable ~/drivers area for these paths. > > Signed-off-by: Paul Durrant <paul.durrant@xxxxxxxxxx> > Cc: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> > Cc: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx> > Cc: Ian Campbell <ian.campbell@xxxxxxxxxx> > Cc: Wei Liu <wei.liu2@xxxxxxxxxx> > --- > tools/libxl/libxl_create.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/tools/libxl/libxl_create.c b/tools/libxl/libxl_create.c > index cc82311..389427f 100644 > --- a/tools/libxl/libxl_create.c > +++ b/tools/libxl/libxl_create.c > @@ -648,6 +648,9 @@ retry_transaction: > libxl__xs_mkdir(gc, t, > libxl__sprintf(gc, "%s/data", dom_path), > rwperm, ARRAY_SIZE(rwperm)); > + libxl__xs_mkdir(gc, t, > + libxl__sprintf(gc, "%s/drivers", dom_path), > + rwperm, ARRAY_SIZE(rwperm)); I see there are already many of these open-coded calls to libxl__xs_mkdir with libxl__sprintf (rather than GCSPRINTF). Oh well. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |