1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-03-07 17:28:15 +00:00
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
..
2014-09-03 09:36:13 -06:00
2016-03-18 17:29:53 +01:00
2015-05-21 18:13:18 +02:00
2016-06-09 09:47:56 +02:00
2016-03-18 17:29:53 +01:00
2016-05-14 09:19:51 +02:00
2013-07-29 13:09:39 -06:00
2016-05-02 07:18:25 +02:00
2016-05-20 17:16:21 +02:00
2016-05-20 17:16:21 +02:00
2015-04-14 19:33:02 +02:00
2016-05-20 17:16:21 +02:00
2016-05-02 07:18:25 +02:00