]> xenbits.xensource.com Git - libvirt.git/commit
Use sysfs to gather host topology, in place of
authorPrerna Saxena <prerna@linux.vnet.ibm.com>
Mon, 3 Oct 2011 12:45:30 +0000 (05:45 -0700)
committerStefan Berger <stefanb@us.ibm.com>
Thu, 8 Dec 2011 13:39:25 +0000 (08:39 -0500)
commitf99b3b4b50dbf23bf9ff1cad9fa2085a4cbe1087
tree1c0383bc7380445edf1c0b8d7b72ab84a2308a4c
parentdbe5eb2d3a4fb740d12de8ead5bb751648d32e83
Use sysfs to gather host topology, in place of

 /proc/cpuinfo

Libvirt at present depends on /proc/cpuinfo to gather host
details such as CPUs, cores, threads, etc. This is an architecture-
dependent approach. An alternative is to use 'Sysfs', which provides
a platform-agnostic interface to parse host CPU topology.

Signed-off-by: Prerna Saxena <prerna@linux.vnet.ibm.com>
src/nodeinfo.c