Displaying 1 result from an estimated 1 matches for "memory_chunk".
Did you mean:
  memory_chunks
  
2006 Sep 29
4
[PATCH 4/6] xen: export NUMA topology in physinfo hcall
...3:45:23 2006 -0500
+++ b/tools/libxc/xc_misc.c	Mon Sep 11 13:45:23 2006 -0500
@@ -39,6 +39,10 @@ int xc_physinfo(int xc_handle,
     DECLARE_SYSCTL;
 
     sysctl.cmd = XEN_SYSCTL_physinfo;
+
+    /* set pointers to caller''s so memcpy doesn''t clobber them */
+    sysctl.u.physinfo.memory_chunks = put_info->memory_chunks;
+    sysctl.u.physinfo.node_to_cpu = put_info->node_to_cpu;
 
     if ( (ret = do_sysctl(xc_handle, &sysctl)) != 0 )
         return ret;
diff -r 6f3c6fb05af3 tools/libxc/xenctrl.h
--- a/tools/libxc/xenctrl.h	Mon Sep 11 13:45:23 2006 -0500
+++ b/tools/libxc/xen...