[PATCHv2 00/10] Strip libnuma functions from nodeinfo.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



As a pre-requisite for doing unit tests for topology detection code
the code in nodeinfo.c needs to be cleaned up.


Peter Krempa (10):
  nodeinfo: Rename linuxNodeInfoCPUPopulate and export it properly
  numa: Introduce virNumaIsAvailable and use it instead of
    numa_available
  nodeinfo: Avoid forward declarations of static functions
  numa: Introduce virNumaGetMaxNode and use it instead of numa_max_node
  numa: Introduce virNumaGetNodeMemory and use it instead of
    numa_node_size64
  nodeinfo: Get rid of nodeGetCellMemory
  numa: Replace NUMA_MAX_N_CPUS macro with virNumaGetMaxCPUs()
  caps: Fix function docs for virCapabilitiesAddHostNUMACell
  numa: Add wrapper of numa_node_to_cpus and use it
  nodeinfo: Remove libnuma include

 src/conf/capabilities.c  |   1 +
 src/libvirt_linux.syms   |   2 +-
 src/libvirt_private.syms |   3 +
 src/nodeinfo.c           | 222 +++++++++++++----------------------------------
 src/nodeinfo.h           |   5 ++
 src/util/virnuma.c       | 221 +++++++++++++++++++++++++++++++++++++++++++++-
 src/util/virnuma.h       |  11 +++
 tests/nodeinfotest.c     |   6 +-
 8 files changed, 304 insertions(+), 167 deletions(-)

-- 
1.8.3.2

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]