projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03285c1
)
xl: use libxl_cpumap_set_none not memset
author
Ian Campbell
<ian.campbell@citrix.com>
Fri, 11 May 2012 11:20:43 +0000
(12:20 +0100)
committer
Ian Campbell
<ian.campbell@citrix.com>
Fri, 11 May 2012 11:20:43 +0000
(12:20 +0100)
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson.citrix.com>
tools/libxl/xl_cmdimpl.c
patch
|
blob
|
history
diff --git
a/tools/libxl/xl_cmdimpl.c
b/tools/libxl/xl_cmdimpl.c
index 28f5cab8f399f8cf9c801c49716aae18dde25e22..86e456ce038bb0dd8113239819f8017f7220feb5 100644
(file)
--- a/
tools/libxl/xl_cmdimpl.c
+++ b/
tools/libxl/xl_cmdimpl.c
@@
-6107,7
+6107,7
@@
int main_cpupoolnumasplit(int argc, char **argv)
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) {