Commit 657d241e authored by David Matlack's avatar David Matlack Committed by Alex Williamson
Browse files

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: default avatarAlex Mastro <amastro@fb.com>
Tested-by: default avatarAlex Mastro <amastro@fb.com>
Reviewed-by: default avatarRaghavendra Rao Ananta <rananta@google.com>
Signed-off-by: default avatarDavid Matlack <dmatlack@google.com>
Link: https://lore.kernel.org/r/20251126231733.3302983-15-dmatlack@google.com


Signed-off-by: default avatarAlex Williamson <alex@shazbot.org>
parent 831c37a5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@
#include <linux/pci_ids.h>
#include <linux/sizes.h>

#include <vfio_util.h>
#include <libvfio.h>

#include "registers.h"

+1 −1
Original line number Diff line number Diff line
@@ -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"
+3 −3
Original line number Diff line number Diff line
/* 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 */
+1 −1
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@
#include <linux/iommufd.h>

#include "../../../kselftest.h"
#include <vfio_util.h>
#include <libvfio.h>

const char *default_iommu_mode = "iommufd";

+1 −1
Original line number Diff line number Diff line
@@ -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)
{
Loading