diff options
author | Juan Quintela <quintela@redhat.com> | 2010-05-11 15:18:38 +0200 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2011-10-20 13:23:52 +0200 |
commit | 7be4363a2828021fd486f7f45e792aecaf909454 (patch) | |
tree | 682b530ec1c8b2114ba19259ca1f9cce68c253d4 /migration-tcp.c | |
parent | 2975725f6b3d634dbe924ea9d9f4d86b8a5b217d (diff) | |
download | qemu-7be4363a2828021fd486f7f45e792aecaf909454.zip qemu-7be4363a2828021fd486f7f45e792aecaf909454.tar.gz qemu-7be4363a2828021fd486f7f45e792aecaf909454.tar.bz2 |
migration: Make *start_outgoing_migration return FdMigrationState
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'migration-tcp.c')
-rw-r--r-- | migration-tcp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/migration-tcp.c b/migration-tcp.c index c431e03..05a121f 100644 --- a/migration-tcp.c +++ b/migration-tcp.c @@ -75,7 +75,7 @@ static void tcp_wait_for_connect(void *opaque) } } -MigrationState *tcp_start_outgoing_migration(Monitor *mon, +FdMigrationState *tcp_start_outgoing_migration(Monitor *mon, const char *host_port, int64_t bandwidth_limit, int detach, @@ -131,7 +131,7 @@ MigrationState *tcp_start_outgoing_migration(Monitor *mon, } else if (ret >= 0) migrate_fd_connect(s); - return &s->mig_state; + return s; } static void tcp_accept_incoming_migration(void *opaque) |