[libvirt] [PATCH 0/4] Start cleaning up nodeinfo.c

Peter Krempa pkrempa at redhat.com
Thu Oct 17 16:45:59 UTC 2013


Some parts of nodeinfo.c are a mess. This series is a start of cleanup
effort on that file that should result also into tests being written
to test the nodeinfo code as it was shown to be fragile.

To avoid sending a huge series I will send it continuously as I progress.

Peter Krempa (4):
  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

 src/libvirt_linux.syms   |   2 +-
 src/libvirt_private.syms |   2 +
 src/nodeinfo.c           | 173 +++++++++++++++++++++++------------------------
 src/nodeinfo.h           |   5 ++
 src/util/virnuma.c       |  51 ++++++++++++++
 src/util/virnuma.h       |   4 ++
 tests/nodeinfotest.c     |   6 +-
 7 files changed, 148 insertions(+), 95 deletions(-)

-- 
1.8.3.2




More information about the libvir-list mailing list