diff options
| author | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2017-12-15 17:16:55 +0000 |
|---|---|---|
| committer | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2018-02-06 10:55:12 +0000 |
| commit | 688a3dcba980bf01344a1ae2bc37fea44c6014ac (patch) | |
| tree | 2e42c331dedfab3743e5b3e7323b3805844c673c /migration/exec.c | |
| parent | cce8040bb0ea6ff56d8882aeb0a0435a61901d93 (diff) | |
| download | focaccia-qemu-688a3dcba980bf01344a1ae2bc37fea44c6014ac.tar.gz focaccia-qemu-688a3dcba980bf01344a1ae2bc37fea44c6014ac.zip | |
migration: Route errors down through migration_channel_connect
Route async errors (especially from sockets) down through migration_channel_connect and on to migrate_fd_connect where they can be cleaned up. Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'migration/exec.c')
| -rw-r--r-- | migration/exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/migration/exec.c b/migration/exec.c index f3be1baf2e..c9537974ad 100644 --- a/migration/exec.c +++ b/migration/exec.c @@ -39,7 +39,7 @@ void exec_start_outgoing_migration(MigrationState *s, const char *command, Error } qio_channel_set_name(ioc, "migration-exec-outgoing"); - migration_channel_connect(s, ioc, NULL); + migration_channel_connect(s, ioc, NULL, NULL); object_unref(OBJECT(ioc)); } |