vfio: selftests: Rename vfio_util.h to libvfio.h

Rename vfio_util.h to libvfio.h to match the name of libvfio.mk.

No functional change intended.

Reviewed-by: Alex Mastro <amastro@fb.com>
Tested-by: Alex Mastro <amastro@fb.com>
Reviewed-by: Raghavendra Rao Ananta <rananta@google.com>
Signed-off-by: David Matlack <dmatlack@google.com>
Link: https://lore.kernel.org/r/20251126231733.3302983-15-dmatlack@google.com
Signed-off-by: Alex Williamson <alex@shazbot.org>
This commit is contained in:
David Matlack
2025-11-26 23:17:29 +00:00
committed by Alex Williamson
parent 831c37a5bf
commit 657d241e69
11 changed files with 13 additions and 13 deletions

View File

@@ -9,7 +9,7 @@
#include <linux/pci_ids.h>
#include <linux/sizes.h>
#include <vfio_util.h>
#include <libvfio.h>
#include "registers.h"

View File

@@ -7,7 +7,7 @@
#include <linux/pci_ids.h>
#include <linux/sizes.h>
#include <vfio_util.h>
#include <libvfio.h>
#include "hw.h"
#include "registers.h"

View File

@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef SELFTESTS_VFIO_LIB_INCLUDE_VFIO_UTIL_H
#define SELFTESTS_VFIO_LIB_INCLUDE_VFIO_UTIL_H
#ifndef SELFTESTS_VFIO_LIB_INCLUDE_LIBVFIO_H
#define SELFTESTS_VFIO_LIB_INCLUDE_LIBVFIO_H
#include <fcntl.h>
#include <string.h>
@@ -352,4 +352,4 @@ void vfio_pci_driver_memcpy_start(struct vfio_pci_device *device,
int vfio_pci_driver_memcpy_wait(struct vfio_pci_device *device);
void vfio_pci_driver_send_msi(struct vfio_pci_device *device);
#endif /* SELFTESTS_VFIO_LIB_INCLUDE_VFIO_UTIL_H */
#endif /* SELFTESTS_VFIO_LIB_INCLUDE_LIBVFIO_H */

View File

@@ -19,7 +19,7 @@
#include <linux/iommufd.h>
#include "../../../kselftest.h"
#include <vfio_util.h>
#include <libvfio.h>
const char *default_iommu_mode = "iommufd";

View File

@@ -19,7 +19,7 @@
#include <linux/types.h>
#include <linux/vfio.h>
#include <vfio_util.h>
#include <libvfio.h>
struct iova_allocator *iova_allocator_init(struct iommu *iommu)
{

View File

@@ -20,7 +20,7 @@
#include <linux/vfio.h>
#include "../../../kselftest.h"
#include <vfio_util.h>
#include <libvfio.h>
#define PCI_SYSFS_PATH "/sys/bus/pci/devices"

View File

@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
#include "../../../kselftest.h"
#include <vfio_util.h>
#include <libvfio.h>
#ifdef __x86_64__
extern struct vfio_pci_driver_ops dsa_ops;

View File

@@ -10,7 +10,7 @@
#include <linux/sizes.h>
#include <linux/vfio.h>
#include <vfio_util.h>
#include <libvfio.h>
#include "../kselftest_harness.h"

View File

@@ -10,7 +10,7 @@
#include <sys/ioctl.h>
#include <unistd.h>
#include <vfio_util.h>
#include <libvfio.h>
#include "../kselftest_harness.h"
static const char iommu_dev_path[] = "/dev/iommu";

View File

@@ -10,7 +10,7 @@
#include <linux/sizes.h>
#include <linux/vfio.h>
#include <vfio_util.h>
#include <libvfio.h>
#include "../kselftest_harness.h"

View File

@@ -5,7 +5,7 @@
#include <linux/sizes.h>
#include <linux/vfio.h>
#include <vfio_util.h>
#include <libvfio.h>
#include "../kselftest_harness.h"