[PATCH 0/9] Add sysfs_prefix to nodeinfo.c API's

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

 



This series adds/processes a sysfs_prefix for the nodeinfo.c API's.

Although the nodeinfotest.c passes a local test directory path, it was
never used. 

This was all brought to light by patch 9 in this series which is
essentially Kothapally Madhu Pavan's v3 patch:

http://www.redhat.com/archives/libvir-list/2015-June/msg00395.html

With the adjustment to call nodeGetPresentCPUBitmap and virNodeParseNode
with the sysfs prefix.

Without the first 5 patches, the patch as posted caused nodeinfotest
failure in my test environment which doesn't have the "larger" environments
that the test tried to set up because the test environment used my
present mask file.

John Ferlan (8):
  nodeinfo: Introduce local linuxGetCPUPresentPath
  nodeinfo: Add sysfs_prefix to nodeGetCPUCount
  nodeinfo: Add sysfs_prefix to nodeGetPresentCPUBitmap
  nodeinfo: Add sysfs_prefix to nodeGetCPUBitmap
  nodeinfo: Add sysfs_prefix to nodeGetCPUMap
  nodeinfo: Add sysfs_prefix to nodeGetInfo
  nodeinfo: Add sysfs_prefix to nodeCapsInitNUMA
  nodeinfo: Add sysfs_prefix to nodeGetMemoryStats

Kothapally Madhu Pavan (1):
  nodeinfo: fix to parse present cpus rather than possible cpus

 src/bhyve/bhyve_capabilities.c |   2 +-
 src/bhyve/bhyve_driver.c       |   6 +-
 src/lxc/lxc_conf.c             |   2 +-
 src/lxc/lxc_controller.c       |   2 +-
 src/lxc/lxc_driver.c           |   6 +-
 src/nodeinfo.c                 | 159 +++++++++++++++++++++++++++++------------
 src/nodeinfo.h                 |  16 +++--
 src/openvz/openvz_conf.c       |   4 +-
 src/openvz/openvz_driver.c     |   6 +-
 src/phyp/phyp_driver.c         |   2 +-
 src/qemu/qemu_capabilities.c   |   4 +-
 src/qemu/qemu_driver.c         |  16 ++---
 src/qemu/qemu_process.c        |   2 +-
 src/uml/uml_conf.c             |   2 +-
 src/uml/uml_driver.c           |   6 +-
 src/util/vircgroup.c           |   2 +-
 src/vbox/vbox_common.c         |   4 +-
 src/vmware/vmware_conf.c       |   2 +-
 src/vz/vz_driver.c             |  10 +--
 src/vz/vz_sdk.c                |   2 +-
 tests/vircgrouptest.c          |   4 +-
 21 files changed, 166 insertions(+), 93 deletions(-)

-- 
2.1.0

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