Skip to contentSkip to conversation

libxl: constify libxl_create_cpupool()

PATCH Applied Christoph Egger 2 participants 2 messages Dec 15, 2010 – Dec 16, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libxl: constify libxl_create_cpupool()

Hi!

Attached patch constifies libxl_create_cpupool().

Signature · 6 lines
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Einsteinring 24, 85609 Dornach b. Muenchen
Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632
tools/libxl/libxl.c +1 -1
diff -r 8a3f14eda1c5 -r 1044405ba1d1 tools/libxl/libxl.c
@@ -3717,7 +3717,7 @@ int libxl_get_freecpus(libxl_ctx *ctx, l
     return 0;
 }
 
-int libxl_create_cpupool(libxl_ctx *ctx, char *name, int schedid,
+int libxl_create_cpupool(libxl_ctx *ctx, const char *name, int schedid,
                          libxl_cpumap cpumap, libxl_uuid *uuid,
                          uint32_t *poolid)
 {
tools/libxl/libxl.h +1 -1
diff -r 8a3f14eda1c5 -r 1044405ba1d1 tools/libxl/libxl.h
@@ -516,7 +516,7 @@ int libxl_device_net2_del(libxl_ctx *ctx
                           int wait);
 
 int libxl_get_freecpus(libxl_ctx *ctx, libxl_cpumap *cpumap);
-int libxl_create_cpupool(libxl_ctx *ctx, char *name, int schedid,
+int libxl_create_cpupool(libxl_ctx *ctx, const char *name, int schedid,
                          libxl_cpumap cpumap, libxl_uuid *uuid,
                          uint32_t *poolid);
 int libxl_destroy_cpupool(libxl_ctx *ctx, uint32_t poolid);

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Applied
#1 lore raw

Christoph Egger writes ("[Xen-devel] [PATCH][TOOLS] libxl: constify libxl_create_cpupool()"):

Quoted 1 line

Attached patch constifies libxl_create_cpupool().

Applied, thanks.

Ian.