[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] xl: use libxl_cpumap_set_none not memset
# HG changeset patch # User Ian Campbell <ian.campbell@xxxxxxxxxx> # Date 1336735243 -3600 # Node ID af6d24d47b56fb5e07fc17e68c33915d6ea35099 # Parent cb0da7656e4e7ca8a58e3e1a64dcb79c24231b7a xl: use libxl_cpumap_set_none not memset Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx> Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> Committed-by: Ian Jackson <ian.jackson.citrix.com> --- diff -r cb0da7656e4e -r af6d24d47b56 tools/libxl/xl_cmdimpl.c --- a/tools/libxl/xl_cmdimpl.c Fri May 11 15:52:52 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-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |