mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
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>
This commit is contained in:
parent
b553d2c414
commit
eb6caa7916
4 changed files with 18 additions and 19 deletions
|
@ -57,6 +57,8 @@ typedef struct VFIOMigration {
|
|||
|
||||
bool vfio_migration_realize(VFIODevice *vbasedev, Error **errp);
|
||||
void vfio_migration_exit(VFIODevice *vbasedev);
|
||||
bool vfio_device_state_is_running(VFIODevice *vbasedev);
|
||||
bool vfio_device_state_is_precopy(VFIODevice *vbasedev);
|
||||
int vfio_save_device_config_state(QEMUFile *f, void *opaque, Error **errp);
|
||||
int vfio_load_device_config_state(QEMUFile *f, void *opaque);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue