]> git.ipfire.org Git - thirdparty/qemu.git/commit
iotests: test NBD+TLS+iothread
authorEric Blake <eblake@redhat.com>
Sat, 18 May 2024 02:50:15 +0000 (21:50 -0500)
committerMichael Tokarev <mjt@tls.msk.ru>
Wed, 5 Jun 2024 09:59:51 +0000 (12:59 +0300)
commitf7ddff7d5bd825903c9262f0bd28a69fd5e1ea6d
tree6bbb53c05594a2af2f0d06d92d74b5d574872c41
parenta15989d89b6ec63f49f352240fa4894e816c0412
iotests: test NBD+TLS+iothread

Prevent regressions when using NBD with TLS in the presence of
iothreads, adding coverage the fix to qio channels made in the
previous patch.

The shell function pick_unused_port() was copied from
nbdkit.git/tests/functions.sh.in, where it had all authors from Red
Hat, agreeing to the resulting relicensing from 2-clause BSD to GPLv2.

CC: qemu-stable@nongnu.org
CC: "Richard W.M. Jones" <rjones@redhat.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
Message-ID: <20240531180639.1392905-6-eblake@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
(cherry picked from commit a73c99378022ebb785481e84cfe1e81097546268)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
tests/qemu-iotests/tests/nbd-tls-iothread [new file with mode: 0755]
tests/qemu-iotests/tests/nbd-tls-iothread.out [new file with mode: 0644]