summary refs log tree commit diff stats
path: root/include/hw/vfio/vfio-common.h
diff options
context:
space:
mode:
authorCédric Le Goater <clg@redhat.com>2025-03-26 08:50:52 +0100
committerCédric Le Goater <clg@redhat.com>2025-04-25 09:01:37 +0200
commiteb6caa79162a89a8dcbe6a6d4788acd813b687a2 (patch)
tree37d0c11dfd9e11909339743280740549e3f74a4c /include/hw/vfio/vfio-common.h
parentb553d2c414a1b5c5bd3bf8bce0b648ba7f8e2baf (diff)
downloadfocaccia-qemu-eb6caa79162a89a8dcbe6a6d4788acd813b687a2.tar.gz
focaccia-qemu-eb6caa79162a89a8dcbe6a6d4788acd813b687a2.zip
vfio: Move vfio_device_state_is_running/precopy() into migration.c
These routines are migration related. Move their declaration and
implementation under the migration files.

Reviewed-by: Prasad Pandit <pjp@fedoraproject.org>
Reviewed-by: John Levon <john.levon@nutanix.com>
Link: https://lore.kernel.org/qemu-devel/20250326075122.1299361-8-clg@redhat.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'include/hw/vfio/vfio-common.h')
-rw-r--r--include/hw/vfio/vfio-common.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/hw/vfio/vfio-common.h b/include/hw/vfio/vfio-common.h
index 05c88753ce..fa0b74d5ea 100644
--- a/include/hw/vfio/vfio-common.h
+++ b/include/hw/vfio/vfio-common.h
@@ -252,9 +252,6 @@ extern VFIODeviceList vfio_device_list;
 extern const MemoryListener vfio_memory_listener;
 extern int vfio_kvm_device_fd;
 
-bool vfio_device_state_is_running(VFIODevice *vbasedev);
-bool vfio_device_state_is_precopy(VFIODevice *vbasedev);
-
 #ifdef CONFIG_LINUX
 int vfio_get_region_info(VFIODevice *vbasedev, int index,
                          struct vfio_region_info **info);