diff options
author | Steve Sistare <steven.sistare@oracle.com> | 2024-03-11 10:48:50 -0700 |
---|---|---|
committer | Peter Xu <peterx@redhat.com> | 2024-03-11 16:28:59 -0400 |
commit | 3a6813b68cf21a366522564f83f885bf2657dcc8 (patch) | |
tree | 8369a19450510e242f041e5e311b4f40ecc2ee40 /include/migration | |
parent | 7dcb3c87d87cbf3359c9bbef8066e5195ee92f4d (diff) |
migration: export migration_is_active
Delete the MigrationState parameter from migration_is_active so it
can be exported and used without including migration.h.
Signed-off-by: Steve Sistare <steven.sistare@oracle.com>
Link: https://lore.kernel.org/r/1710179338-294359-4-git-send-email-steven.sistare@oracle.com
Signed-off-by: Peter Xu <peterx@redhat.com>
Diffstat (limited to 'include/migration')
-rw-r--r-- | include/migration/misc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/migration/misc.h b/include/migration/misc.h index 79cff6224e..e1f1bf853e 100644 --- a/include/migration/misc.h +++ b/include/migration/misc.h @@ -60,7 +60,7 @@ void dump_vmstate_json_to_file(FILE *out_fp); void migration_object_init(void); void migration_shutdown(void); bool migration_is_idle(void); -bool migration_is_active(MigrationState *); +bool migration_is_active(void); bool migration_is_setup_or_active(void); bool migrate_mode_is_cpr(MigrationState *); |