libvirt/src/vz
Daniel P. Berrange 08ea852c25 nodeinfo: remove sysfs_prefix from all methods
Nearly all the methods in the nodeinfo file are given a
'const char *sysfs_prefix' parameter to override the
default sysfs path (/sys/devices/system). Every single
caller passes in NULL for this, except one use in the
unit tests. Furthermore this parameter is totally
Linux-specific, when the APIs are intended to be cross
platform portable.

This removes the sysfs_prefix parameter and instead gives
a new method linuxNodeInfoSetSysFSSystemPath for use by
the test suite.

For two of the methods this hardcodes use of the constant
SYSFS_SYSTEM_PATH, since the test suite does not need to
override the path for thos methods.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2016-06-09 18:00:18 +01:00
..
vz_driver.c nodeinfo: remove sysfs_prefix from all methods 2016-06-09 18:00:18 +01:00
vz_driver.h
vz_sdk.c nodeinfo: remove sysfs_prefix from all methods 2016-06-09 18:00:18 +01:00
vz_sdk.h vz: implement managed migration 2016-05-19 14:57:02 +03:00
vz_utils.c vz: fix const correctness case 2016-05-19 14:56:00 +03:00
vz_utils.h vz: cleanup: define vz format of uuids 2016-05-19 14:57:13 +03:00