diff options
author | Daniel P. Berrangé <berrange@redhat.com> | 2025-07-18 16:05:12 +0100 |
---|---|---|
committer | Fabiano Rosas <farosas@suse.de> | 2025-07-22 19:39:30 -0300 |
commit | edea818371bd7179b55f38d3b113d342251d8f9b (patch) | |
tree | 2459be8560010e2d770edf156fbda47389aa54d1 /include | |
parent | 24ad5e19952b326796c8a3a1595c57ff180dab84 (diff) | |
download | qemu-edea818371bd7179b55f38d3b113d342251d8f9b.zip qemu-edea818371bd7179b55f38d3b113d342251d8f9b.tar.gz qemu-edea818371bd7179b55f38d3b113d342251d8f9b.tar.bz2 |
io: add support for activating TLS thread safety workaround
Add a QIO_CHANNEL_FEATURE_CONCURRENT_IO feature flag.
If this is set on a QIOChannelTLS session object, the TLS
session will be marked as requiring thread safety, which
will activate the workaround for GNUTLS bug 1717 if needed.
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-3-berrange@redhat.com
Signed-off-by: Fabiano Rosas <farosas@suse.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/io/channel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/io/channel.h b/include/io/channel.h index 62b6571..234e5db 100644 --- a/include/io/channel.h +++ b/include/io/channel.h @@ -46,6 +46,7 @@ enum QIOChannelFeature { QIO_CHANNEL_FEATURE_WRITE_ZERO_COPY, QIO_CHANNEL_FEATURE_READ_MSG_PEEK, QIO_CHANNEL_FEATURE_SEEKABLE, + QIO_CHANNEL_FEATURE_CONCURRENT_IO, }; |