]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
vfio: selftests: Move helper to get cdev path to libvfio
authorDavid Matlack <dmatlack@google.com>
Fri, 22 Aug 2025 21:25:10 +0000 (21:25 +0000)
committerAlex Williamson <alex.williamson@redhat.com>
Wed, 27 Aug 2025 18:14:09 +0000 (12:14 -0600)
commit118e073ef6a3446862ada27bdca2b8a53447f428
tree3863d5076b0ffbd86e0a272b5aff196959132993
parent35b05bd96204bc40a2ca8620bad1a5d139c20060
vfio: selftests: Move helper to get cdev path to libvfio

Move the helper function to get the VFIO cdev path to libvfio so that it
can be used in libvfio in a subsequent commit.

No functional change intended.

Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: David Matlack <dmatlack@google.com>
Link: https://lore.kernel.org/r/20250822212518.4156428-24-dmatlack@google.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
tools/testing/selftests/vfio/lib/include/vfio_util.h
tools/testing/selftests/vfio/lib/vfio_pci_device.c
tools/testing/selftests/vfio/vfio_iommufd_setup_test.c