summary refs log tree commit diff stats
path: root/hw/vfio/common.c
diff options
context:
space:
mode:
authorCédric Le Goater <clg@redhat.com>2025-03-26 08:50:51 +0100
committerCédric Le Goater <clg@redhat.com>2025-04-25 09:01:37 +0200
commitb553d2c414a1b5c5bd3bf8bce0b648ba7f8e2baf (patch)
treef41dc8896c714a24957c611b2cc175c5ec6e22c9 /hw/vfio/common.c
parentd04a35cb742e6e3b3682e31addb7b68b22b1c6c3 (diff)
downloadfocaccia-qemu-b553d2c414a1b5c5bd3bf8bce0b648ba7f8e2baf.tar.gz
focaccia-qemu-b553d2c414a1b5c5bd3bf8bce0b648ba7f8e2baf.zip
vfio: Introduce a new header file for internal migration services
Gather all VFIO migration related declarations into
"vfio-migration-internal.h" to reduce exposure of VFIO internals in
"hw/vfio/vfio-common.h".

Cc: Kirti Wankhede <kwankhede@nvidia.com>
Cc: Avihai Horon <avihaih@nvidia.com>
Reviewed-by: Prasad Pandit <pjp@fedoraproject.org>
Reviewed-by: John Levon <john.levon@nutanix.com>
Reviewed-by: Avihai Horon <avihaih@nvidia.com>
Link: https://lore.kernel.org/qemu-devel/20250326075122.1299361-7-clg@redhat.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'hw/vfio/common.c')
-rw-r--r--hw/vfio/common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/vfio/common.c b/hw/vfio/common.c
index 679076343a..bef5414dd7 100644
--- a/hw/vfio/common.c
+++ b/hw/vfio/common.c
@@ -43,6 +43,7 @@
 #include "migration/qemu-file.h"
 #include "system/tcg.h"
 #include "system/tpm.h"
+#include "vfio-migration-internal.h"
 
 VFIODeviceList vfio_device_list =
     QLIST_HEAD_INITIALIZER(vfio_device_list);