]> git.ipfire.org Git - thirdparty/libvirt.git/commit
nodedev: expose internal helper for naming devices
authorJonathon Jongsma <jjongsma@redhat.com>
Fri, 6 Nov 2020 18:02:50 +0000 (12:02 -0600)
committerJonathon Jongsma <jjongsma@redhat.com>
Wed, 7 Apr 2021 20:03:34 +0000 (15:03 -0500)
commit8fed1d9636c1d0be058c1ca93c9630e25380e04f
treeeea87d7b53cd14a3d9e888380c673cbeb7337951
parente3107a18623405adeeece4854cbea28b4a2e64a6
nodedev: expose internal helper for naming devices

Expose a helper function that can be used by udev and mdevctl to
generate device names for node devices.

Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
src/node_device/node_device_driver.c
src/node_device/node_device_driver.h
src/node_device/node_device_udev.c