Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Xen: Devel

[PATCH] xl: use libxl_cpumap_set_none not memset

 

 

Xen devel RSS feed   Index | Next | Previous | View Threaded


ian.campbell at citrix

May 11, 2012, 4:22 AM

Post #1 of 2 (70 views)
Permalink
[PATCH] xl: use libxl_cpumap_set_none not memset

# HG changeset patch
# User Ian Campbell <ian.campbell [at] citrix>
# Date 1336735243 -3600
# Node ID 5abc2c4e80892ca27db56406dcaf5cc3d7d9afda
# Parent 6d45fbdca09be60726eb7043a42dbac552e202e0
xl: use libxl_cpumap_set_none not memset

Signed-off-by: Ian Campbell <ian.campbell [at] citrix>

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 [at] lists
http://lists.xen.org/xen-devel


Ian.Jackson at eu

May 11, 2012, 9:22 AM

Post #2 of 2 (70 views)
Permalink
Re: [PATCH] xl: use libxl_cpumap_set_none not memset [In reply to]

Ian Campbell writes ("[Xen-devel] [PATCH] xl: use libxl_cpumap_set_none not memset"):
> xl: use libxl_cpumap_set_none not memset

Acked-by: Ian Jackson <ian.jackson [at] eu>
Committed-by: Ian Jackson <ian.jackson [at] eu>

_______________________________________________
Xen-devel mailing list
Xen-devel [at] lists
http://lists.xen.org/xen-devel

Xen devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.