]> git.ipfire.org Git - thirdparty/qemu.git/commit
migration: activate TLS thread safety workaround
authorDaniel P. Berrangé <berrange@redhat.com>
Fri, 18 Jul 2025 15:05:13 +0000 (16:05 +0100)
committerFabiano Rosas <farosas@suse.de>
Tue, 22 Jul 2025 22:39:30 +0000 (19:39 -0300)
commiteb3618e9e259ef93f5a1a76867fbccae540fcd61
treefc58a133708d3a5499e7b2d6d1f553ac42f8318e
parentedea818371bd7179b55f38d3b113d342251d8f9b
migration: activate TLS thread safety workaround

When either the postcopy or return path capabilities are
enabled, the migration code will use the primary channel
for bidirectional I/O.

If either of those capabilities are enabled, the migration
code needs to mark the channel as expecting concurrent I/O
in order to activate the thread safety workarounds for
GNUTLS bug 1717

Closes: https://gitlab.com/qemu-project/qemu/-/issues/1937
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Link: https://lore.kernel.org/qemu-devel/20250718150514.2635338-4-berrange@redhat.com
Signed-off-by: Fabiano Rosas <farosas@suse.de>
migration/tls.c