diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-07-06 16:12:07 +0100 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-07-06 16:12:07 +0100 |
commit | be259653f3f1713426ddea9436bffe998b54ae78 (patch) | |
tree | b5b6c1867d9e9b04d0ecb13655ea41dcb6ecf68f /tools/libxc/xc_misc.c | |
parent | 8d374ca1d1c9c2c454503d70bbc66fd8f219f71f (diff) | |
download | xen-be259653f3f1713426ddea9436bffe998b54ae78.tar.gz xen-be259653f3f1713426ddea9436bffe998b54ae78.tar.bz2 xen-be259653f3f1713426ddea9436bffe998b54ae78.zip |
Extended the physinfo sysctl to export NUMA cpu_to_node topology info.
Print this in 'xm info'.
Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'tools/libxc/xc_misc.c')
-rw-r--r-- | tools/libxc/xc_misc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/libxc/xc_misc.c b/tools/libxc/xc_misc.c index 85f7921e77..13fa65ff18 100644 --- a/tools/libxc/xc_misc.c +++ b/tools/libxc/xc_misc.c @@ -60,6 +60,8 @@ int xc_physinfo(int xc_handle, sysctl.cmd = XEN_SYSCTL_physinfo; + memcpy(&sysctl.u.physinfo, put_info, sizeof(*put_info)); + if ( (ret = do_sysctl(xc_handle, &sysctl)) != 0 ) return ret; |