aboutsummaryrefslogtreecommitdiff
path: root/migration
diff options
context:
space:
mode:
authorFabiano Rosas <farosas@suse.de>2023-11-10 17:02:38 -0300
committerJuan Quintela <quintela@redhat.com>2023-11-30 09:50:10 +0100
commit0a08c7947b4246b90e2b96df19f04292963f21fc (patch)
treed669eedefd2833576e6f774026b126d809f4b37a /migration
parentabf635ddfe3242df907f58967f3c1e6763bbca2d (diff)
downloadqemu-0a08c7947b4246b90e2b96df19f04292963f21fc.zip
qemu-0a08c7947b4246b90e2b96df19f04292963f21fc.tar.gz
qemu-0a08c7947b4246b90e2b96df19f04292963f21fc.tar.bz2
migration/multifd: Stop setting p->ioc before connecting
This is being shadowed but the assignments at multifd_channel_connect() and multifd_tls_channel_connect() . Signed-off-by: Fabiano Rosas <farosas@suse.de> Message-ID: <20231110200241.20679-2-farosas@suse.de> Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'migration')
-rw-r--r--migration/multifd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/migration/multifd.c b/migration/multifd.c
index ec58c58..4094606 100644
--- a/migration/multifd.c
+++ b/migration/multifd.c
@@ -883,8 +883,7 @@ static void multifd_new_send_channel_async(QIOTask *task, gpointer opaque)
trace_multifd_new_send_channel_async(p->id);
if (!qio_task_propagate_error(task, &local_err)) {
- p->c = ioc;
- qio_channel_set_delay(p->c, false);
+ qio_channel_set_delay(ioc, false);
p->running = true;
if (multifd_channel_connect(p, ioc, &local_err)) {
return;