summary refs log tree commit diff stats
path: root/hw/vfio/migration.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/migration.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/migration.c')
-rw-r--r--hw/vfio/migration.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/vfio/migration.c b/hw/vfio/migration.c
index b5bb0cd092..54f6ca3e7c 100644
--- a/hw/vfio/migration.c
+++ b/hw/vfio/migration.c
@@ -31,6 +31,7 @@
 #include "pci.h"
 #include "trace.h"
 #include "hw/hw.h"
+#include "vfio-migration-internal.h"
 
 /*
  * This is an arbitrary size based on migration of mlx5 devices, where typically