mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
migration: pass MigrationState to migrate_init()
Let the callers take the object, then pass it to migrate_init(). Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Signed-off-by: Peter Xu <peterx@redhat.com> Message-Id: <20180208103132.28452-12-peterx@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
This commit is contained in:
parent
d6208e35e4
commit
3e0c8050eb
3 changed files with 7 additions and 7 deletions
|
@ -193,7 +193,7 @@ void migrate_fd_error(MigrationState *s, const Error *error);
|
|||
|
||||
void migrate_fd_connect(MigrationState *s, Error *error_in);
|
||||
|
||||
MigrationState *migrate_init(void);
|
||||
void migrate_init(MigrationState *s);
|
||||
bool migration_is_blocked(Error **errp);
|
||||
/* True if outgoing migration has entered postcopy phase */
|
||||
bool migration_in_postcopy(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue