mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
migration: migration_file_set_error
Define and export migration_file_set_error to eliminate a dependency on MigrationState. Signed-off-by: Steve Sistare <steven.sistare@oracle.com> Link: https://lore.kernel.org/r/1710179338-294359-9-git-send-email-steven.sistare@oracle.com Signed-off-by: Peter Xu <peterx@redhat.com>
This commit is contained in:
parent
9bb630c6ee
commit
20c64c8a51
4 changed files with 17 additions and 16 deletions
|
@ -109,6 +109,8 @@ bool migration_in_setup(MigrationState *);
|
|||
bool migration_has_finished(MigrationState *);
|
||||
bool migration_has_failed(MigrationState *);
|
||||
bool migration_is_running(void);
|
||||
void migration_file_set_error(int err);
|
||||
|
||||
/* ...and after the device transmission */
|
||||
/* True if incoming migration entered POSTCOPY_INCOMING_DISCARD */
|
||||
bool migration_in_incoming_postcopy(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue