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

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

 



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

--
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]