diff options
| author | Dr. David Alan Gilbert | 2017-12-15 18:16:55 +0100 |
|---|---|---|
| committer | Dr. David Alan Gilbert | 2018-02-06 11:55:12 +0100 |
| commit | 688a3dcba980bf01344a1ae2bc37fea44c6014ac (patch) | |
| tree | 2e42c331dedfab3743e5b3e7323b3805844c673c /migration/exec.c | |
| parent | migration: Allow migrate_fd_connect to take an Error * (diff) | |
| download | qemu-688a3dcba980bf01344a1ae2bc37fea44c6014ac.tar.gz qemu-688a3dcba980bf01344a1ae2bc37fea44c6014ac.tar.xz 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)); } |
