|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] xl: use libxl_cpumap_set_none not memset
# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1336735243 -3600
# Node ID 5abc2c4e80892ca27db56406dcaf5cc3d7d9afda
# Parent 6d45fbdca09be60726eb7043a42dbac552e202e0
xl: use libxl_cpumap_set_none not memset
Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
diff -r 6d45fbdca09b -r 5abc2c4e8089 tools/libxl/xl_cmdimpl.c
--- a/tools/libxl/xl_cmdimpl.c Thu May 10 14:14:24 2012 +0100
+++ b/tools/libxl/xl_cmdimpl.c Fri May 11 12:20:43 2012 +0100
@@ -6107,7 +6107,7 @@ int main_cpupoolnumasplit(int argc, char
fprintf(stderr, "failed to offline vcpus\n");
goto out;
}
- memset(cpumap.map, 0, cpumap.size);
+ libxl_cpumap_set_none(&cpumap);
for (c = 0; c < n_cpus; c++) {
if (topology[c].node == LIBXL_CPUTOPOLOGY_INVALID_ENTRY) {
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |