summary refs log tree commit diff stats
path: root/hw/vfio/helpers.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/helpers.c
parent5cf52416e428836b1328ed47173a41948e1643bd (diff)
downloadfocaccia-qemu-ac28680d5e7a84943cd9f55a4aae245d6d7fdcae.tar.gz
focaccia-qemu-ac28680d5e7a84943cd9f55a4aae245d6d7fdcae.zip
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/helpers.c')
-rw-r--r--hw/vfio/helpers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/vfio/helpers.c b/hw/vfio/helpers.c
index 89403943a7..054ee6e31e 100644
--- a/hw/vfio/helpers.c
+++ b/hw/vfio/helpers.c
@@ -30,6 +30,7 @@
 #include "qemu/error-report.h"
 #include "qemu/units.h"
 #include "monitor/monitor.h"
+#include "vfio-helpers.h"
 
 /*
  * Common VFIO interrupt disable