diff options
author | Steve Sistare <steven.sistare@oracle.com> | 2024-03-11 10:48:54 -0700 |
---|---|---|
committer | Peter Xu <peterx@redhat.com> | 2024-03-11 16:28:59 -0400 |
commit | 9bb630c6ee6e930e1c521829681365e5672bbd99 (patch) | |
tree | 79a0f633ad8803ded84a6e4267e8f019c293316b /include | |
parent | 6e7856397641326163ef493197a849f99a9a6a44 (diff) |
migration: migration_is_device
Define and export migration_is_device to eliminate a dependency
on MigrationState.
Signed-off-by: Steve Sistare <steven.sistare@oracle.com>
Link: https://lore.kernel.org/r/1710179338-294359-8-git-send-email-steven.sistare@oracle.com
Signed-off-by: Peter Xu <peterx@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/migration/misc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/migration/misc.h b/include/migration/misc.h index c4b5416357..28cfaed2c7 100644 --- a/include/migration/misc.h +++ b/include/migration/misc.h @@ -61,6 +61,7 @@ void migration_object_init(void); void migration_shutdown(void); bool migration_is_idle(void); bool migration_is_active(void); +bool migration_is_device(void); bool migration_thread_is_self(void); bool migration_is_setup_or_active(void); bool migrate_mode_is_cpr(MigrationState *); |