aboutsummaryrefslogtreecommitdiff
path: root/hw/vfio/pci.c
diff options
context:
space:
mode:
authorCédric Le Goater <clg@redhat.com>2025-03-26 08:51:01 +0100
committerCédric Le Goater <clg@redhat.com>2025-04-25 09:01:37 +0200
commitac28680d5e7a84943cd9f55a4aae245d6d7fdcae (patch)
tree893b65b395afc205c3ca5f54823f95307c04efc7 /hw/vfio/pci.c
parent5cf52416e428836b1328ed47173a41948e1643bd (diff)
downloadqemu-ac28680d5e7a84943cd9f55a4aae245d6d7fdcae.zip
qemu-ac28680d5e7a84943cd9f55a4aae245d6d7fdcae.tar.gz
qemu-ac28680d5e7a84943cd9f55a4aae245d6d7fdcae.tar.bz2
vfio: Introduce a new header file for helper services
Gather all helper routine declarations into "vfio-helpers.h" to reduce exposure of VFIO internals in "hw/vfio/vfio-common.h". Reviewed-by: John Levon <john.levon@nutanix.com> Link: https://lore.kernel.org/qemu-devel/20250318095415.670319-16-clg@redhat.com Reviewed-by: Zhenzhong Duan <zhenzhong.duan@intel.com> Link: https://lore.kernel.org/qemu-devel/20250326075122.1299361-17-clg@redhat.com Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'hw/vfio/pci.c')
-rw-r--r--hw/vfio/pci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/vfio/pci.c b/hw/vfio/pci.c
index b0aac2f..bade3b8 100644
--- a/hw/vfio/pci.c
+++ b/hw/vfio/pci.c
@@ -45,6 +45,7 @@
#include "migration/qemu-file.h"
#include "system/iommufd.h"
#include "vfio-migration-internal.h"
+#include "vfio-helpers.h"
#define TYPE_VFIO_PCI_NOHOTPLUG "vfio-pci-nohotplug"