]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
node_device: new functions to get sriov/iommu info from sysfs
authorLaine Stump <laine@laine.org>
Mon, 11 May 2015 17:35:50 +0000 (13:35 -0400)
committerLaine Stump <laine@laine.org>
Mon, 18 May 2015 14:31:58 +0000 (10:31 -0400)
commit7349fa2ebef2f26946c8280ed4c6cc1ef7e2e3cc
tree48ffc4dabec456447352611c2fe3c3ab7719da18
parentd2a57815aa2a1a299a690f6622e1c77f46c883bb
node_device: new functions to get sriov/iommu info from sysfs

The udev and hal drivers both already call the same functions as these
new functions added to node_device_linux_sysfs.c, but 1) we need to
call them from node_device_driver.c, and 2) it would be nice to
eliminate the duplicated code from the hal and udev backends.
src/node_device/node_device_linux_sysfs.c
src/node_device/node_device_linux_sysfs.h