mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 23:03:54 -06:00
migration: Unexport migration_is_active()
After being removed from VFIO and dirty limit, migration_is_active() no longer has any users outside the migration subsystem, and in fact, it's only used in migration.c. Unexport it and also relocate it so it can be made static. Signed-off-by: Avihai Horon <avihaih@nvidia.com> Reviewed-by: Cédric Le Goater <clg@redhat.com> Acked-by: Peter Xu <peterx@redhat.com> Tested-by: Joao Martins <joao.m.martins@oracle.com> Link: https://lore.kernel.org/r/20241218134022.21264-8-avihaih@nvidia.com Signed-off-by: Cédric Le Goater <clg@redhat.com>
This commit is contained in:
parent
844ed0f762
commit
3bdb1a75f1
2 changed files with 8 additions and 9 deletions
|
@ -53,7 +53,6 @@ void dump_vmstate_json_to_file(FILE *out_fp);
|
|||
void migration_object_init(void);
|
||||
void migration_shutdown(void);
|
||||
|
||||
bool migration_is_active(void);
|
||||
bool migration_is_running(void);
|
||||
bool migration_thread_is_self(void);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue