mirror of
https://github.com/mii443/qemu.git
synced 2025-08-22 23:25:48 +00:00
migration: export migration_is_running
Delete the MigrationState parameter from migration_is_running and move it to the public API in misc.h. Signed-off-by: Steve Sistare <steven.sistare@oracle.com> Link: https://lore.kernel.org/r/1710179338-294359-5-git-send-email-steven.sistare@oracle.com Signed-off-by: Peter Xu <peterx@redhat.com>
This commit is contained in:
@ -106,6 +106,7 @@ int migration_call_notifiers(MigrationState *s, MigrationEventType type,
|
||||
bool migration_in_setup(MigrationState *);
|
||||
bool migration_has_finished(MigrationState *);
|
||||
bool migration_has_failed(MigrationState *);
|
||||
bool migration_is_running(void);
|
||||
/* ...and after the device transmission */
|
||||
/* True if incoming migration entered POSTCOPY_INCOMING_DISCARD */
|
||||
bool migration_in_incoming_postcopy(void);
|
||||
|
Reference in New Issue
Block a user