mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 23:03:54 -06:00
migration: Make *start_outgoing_migration return FdMigrationState
Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
2975725f6b
commit
7be4363a28
6 changed files with 14 additions and 14 deletions
|
@ -74,7 +74,7 @@ static void unix_wait_for_connect(void *opaque)
|
|||
}
|
||||
}
|
||||
|
||||
MigrationState *unix_start_outgoing_migration(Monitor *mon,
|
||||
FdMigrationState *unix_start_outgoing_migration(Monitor *mon,
|
||||
const char *path,
|
||||
int64_t bandwidth_limit,
|
||||
int detach,
|
||||
|
@ -132,7 +132,7 @@ MigrationState *unix_start_outgoing_migration(Monitor *mon,
|
|||
if (ret >= 0)
|
||||
migrate_fd_connect(s);
|
||||
|
||||
return &s->mig_state;
|
||||
return s;
|
||||
|
||||
err_after_open:
|
||||
close(s->fd);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue