]> xenbits.xensource.com Git - libvirt.git/commit
nodedev: Move the sysfs-related cap handling to node_device_conf.c
authorErik Skultety <eskultet@redhat.com>
Fri, 12 Jan 2018 12:14:26 +0000 (13:14 +0100)
committerErik Skultety <eskultet@redhat.com>
Mon, 29 Jan 2018 14:34:30 +0000 (15:34 +0100)
commitf83c7c88c54842d0ccd54255d718995e0aa779a4
treeb35733497f785064a67da6f022825278bbd931bf
parentd1860140ccf95b0fd7cce635082bd2a25f69e7d4
nodedev: Move the sysfs-related cap handling to node_device_conf.c

The capabilities are defined/parsed/formatted/queried from this module,
no reason for 'update' not being part of the module as well. This also
involves some module-specific prefix changes.
This patch also drops the node_device_linux_sysfs module from the repo
since:
a) it only contained the capability handlers we just moved
b) it's only linked with the driver (by design) and thus unreachable to
other modules
c) we touch sysfs across all the src/util modules so the module being
deleted hasn't been serving its original intention for some time already.

Signed-off-by: Erik Skultety <eskultet@redhat.com>
src/Makefile.am
src/conf/node_device_conf.c
src/conf/node_device_conf.h
src/libvirt_private.syms
src/node_device/node_device_driver.c
src/node_device/node_device_hal.c
src/node_device/node_device_linux_sysfs.c [deleted file]
src/node_device/node_device_linux_sysfs.h [deleted file]
src/node_device/node_device_udev.c