mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53: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
|
@ -61,7 +61,7 @@ static int exec_close(FdMigrationState *s)
|
|||
return ret;
|
||||
}
|
||||
|
||||
MigrationState *exec_start_outgoing_migration(Monitor *mon,
|
||||
FdMigrationState *exec_start_outgoing_migration(Monitor *mon,
|
||||
const char *command,
|
||||
int64_t bandwidth_limit,
|
||||
int detach,
|
||||
|
@ -108,7 +108,7 @@ MigrationState *exec_start_outgoing_migration(Monitor *mon,
|
|||
}
|
||||
|
||||
migrate_fd_connect(s);
|
||||
return &s->mig_state;
|
||||
return s;
|
||||
|
||||
err_after_open:
|
||||
pclose(f);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue