[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 3 of 5] libxl: correct type of cpupool variable
# HG changeset patch # User Ian Campbell <ian.campbell@xxxxxxxxxx> # Date 1340362529 -3600 # Node ID b63faf77bff33d7c9ebfe7260ecaffc26f3773a8 # Parent b6a78743e13fb5b7f652f25a541eb425a21f1396 libxl: correct type of cpupool variable. libxl__domain_cpupool returns int and can return ERROR_* so we need to use a signed type. Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx> diff -r b6a78743e13f -r b63faf77bff3 tools/libxl/libxl_dom.c --- a/tools/libxl/libxl_dom.c Fri Jun 22 11:55:27 2012 +0100 +++ b/tools/libxl/libxl_dom.c Fri Jun 22 11:55:29 2012 +0100 @@ -76,7 +76,7 @@ int libxl__domain_cpupool(libxl__gc *gc, libxl_scheduler libxl__domain_scheduler(libxl__gc *gc, uint32_t domid) { - uint32_t cpupool = libxl__domain_cpupool(gc, domid); + int cpupool = libxl__domain_cpupool(gc, domid); libxl_cpupoolinfo poolinfo; libxl_scheduler sched = LIBXL_SCHEDULER_UNKNOWN; int rc; _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |