libvirt/src/vmware
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
..
vmware_conf.c nodeinfo: remove sysfs_prefix from all methods 2016-06-09 18:00:18 +01:00
vmware_conf.h conf: Split virDomainObjList into a separate file 2015-11-30 13:55:10 +01:00
vmware_driver.c Pass config file object through to driver open methods 2016-06-08 13:48:45 +01:00
vmware_driver.h