[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] libxl: constify libxl_create_cpupool()



# HG changeset patch
# User Christoph Egger <Christoph.Egger@xxxxxxx>
# Date 1292523844 0
# Node ID 325cad6f67f9caf73300ac3e58427ab44f0b4904
# Parent  3bb6574e6707a8f6007e97c7d0933b6534d10348
libxl: constify libxl_create_cpupool()

Attached patch constifies libxl_create_cpupool().

Signed-off-by: Christoph Egger <Christoph.Egger@xxxxxxx>
Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
 tools/libxl/libxl.c |    2 +-
 tools/libxl/libxl.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff -r 3bb6574e6707 -r 325cad6f67f9 tools/libxl/libxl.c
--- a/tools/libxl/libxl.c       Thu Dec 16 18:21:56 2010 +0000
+++ b/tools/libxl/libxl.c       Thu Dec 16 18:24:04 2010 +0000
@@ -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 3bb6574e6707 -r 325cad6f67f9 tools/libxl/libxl.h
--- a/tools/libxl/libxl.h       Thu Dec 16 18:21:56 2010 +0000
+++ b/tools/libxl/libxl.h       Thu Dec 16 18:24:04 2010 +0000
@@ -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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.