From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Egger Subject: [PATCH][TOOLS] libxl: constify libxl_create_cpupool() Date: Wed, 15 Dec 2010 14:34:49 +0100 Message-ID: <201012151434.49452.Christoph.Egger@amd.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Boundary-00=_5PMCN8OQ1GF9gPv" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --Boundary-00=_5PMCN8OQ1GF9gPv Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi! Attached patch constifies libxl_create_cpupool(). Signed-off-by: Christoph Egger -- ---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 --Boundary-00=_5PMCN8OQ1GF9gPv Content-Type: text/x-diff; charset="iso 8859-15"; name="xen_libxl_const.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="xen_libxl_const.diff" Content-Description: xen_libxl_const.diff diff -r 8a3f14eda1c5 -r 1044405ba1d1 tools/libxl/libxl.c --- a/tools/libxl/libxl.c +++ b/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) { diff -r 8a3f14eda1c5 -r 1044405ba1d1 tools/libxl/libxl.h --- a/tools/libxl/libxl.h +++ b/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); --Boundary-00=_5PMCN8OQ1GF9gPv Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --Boundary-00=_5PMCN8OQ1GF9gPv--