mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -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
|
@ -50,7 +50,7 @@ static int fd_close(FdMigrationState *s)
|
|||
return 0;
|
||||
}
|
||||
|
||||
MigrationState *fd_start_outgoing_migration(Monitor *mon,
|
||||
FdMigrationState *fd_start_outgoing_migration(Monitor *mon,
|
||||
const char *fdname,
|
||||
int64_t bandwidth_limit,
|
||||
int detach,
|
||||
|
@ -91,7 +91,7 @@ MigrationState *fd_start_outgoing_migration(Monitor *mon,
|
|||
}
|
||||
|
||||
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