debuggers.hg

changeset 22602:325cad6f67f9

libxl: constify libxl_create_cpupool()

Attached patch constifies libxl_create_cpupool().

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
author Christoph Egger <Christoph.Egger@amd.com>
date Thu Dec 16 18:24:04 2010 +0000 (2010-12-16)
parents 3bb6574e6707
children 3f98c4b02f88
files tools/libxl/libxl.c tools/libxl/libxl.h
line diff
     1.1 --- a/tools/libxl/libxl.c	Thu Dec 16 18:21:56 2010 +0000
     1.2 +++ b/tools/libxl/libxl.c	Thu Dec 16 18:24:04 2010 +0000
     1.3 @@ -3717,7 +3717,7 @@ int libxl_get_freecpus(libxl_ctx *ctx, l
     1.4      return 0;
     1.5  }
     1.6  
     1.7 -int libxl_create_cpupool(libxl_ctx *ctx, char *name, int schedid,
     1.8 +int libxl_create_cpupool(libxl_ctx *ctx, const char *name, int schedid,
     1.9                           libxl_cpumap cpumap, libxl_uuid *uuid,
    1.10                           uint32_t *poolid)
    1.11  {
     2.1 --- a/tools/libxl/libxl.h	Thu Dec 16 18:21:56 2010 +0000
     2.2 +++ b/tools/libxl/libxl.h	Thu Dec 16 18:24:04 2010 +0000
     2.3 @@ -516,7 +516,7 @@ int libxl_device_net2_del(libxl_ctx *ctx
     2.4                            int wait);
     2.5  
     2.6  int libxl_get_freecpus(libxl_ctx *ctx, libxl_cpumap *cpumap);
     2.7 -int libxl_create_cpupool(libxl_ctx *ctx, char *name, int schedid,
     2.8 +int libxl_create_cpupool(libxl_ctx *ctx, const char *name, int schedid,
     2.9                           libxl_cpumap cpumap, libxl_uuid *uuid,
    2.10                           uint32_t *poolid);
    2.11  int libxl_destroy_cpupool(libxl_ctx *ctx, uint32_t poolid);