Skip to content

Misc fixes to NBD

Daniel P. Berrangé qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 41 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6nbd: fix whitespace in server error messagenbd/server.c+1 -12 replies
2/6nbd: stop waiting for a NBD response with NBD_CMD_DISCblock/nbd-client.c+1 -05 replies
3/6tests: pull qemu-nbd iotest helpers into common.nbd filetests/qemu-iotests/058 tests/qemu-iotests/common.nbd+64 -396 replies
4/6tests: check if qemu-nbd is still alive before waitingtests/qemu-iotests/common.nbd+9 -12 replies
5/6tests: add iotests helpers for dealing with TLS certificatestests/qemu-iotests/common.tls+139 -05 replies
6/6tests: exercise NBD server in TLS modetests/qemu-iotests/233 tests/qemu-iotests/233.out tests/qemu-iotests/common.nbd +1 more+180 -021 replies

Reviews trailers per patch

5 of 6 patches have a Reviewed-by or Acked-by.

PatchEric BlakeDaniel P. BerrangéPhilippe Mathieu-Daudé
1/6R-b R-b
2/6R-b
3/6R-b
4/6R-b
5/6
6/6R-b T-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/6] Misc fixes to NBD

This does two minor fixes to the NBD code and adds significant coverage of the NBD TLS support to detect future problems.

The first two patches should be for 3.1.

The tests can wait till 4.0 if desired.

Daniel P. Berrangé (6):
nbd: fix whitespace in server error message
nbd: stop waiting for a NBD response with NBD_CMD_DISC
tests: pull qemu-nbd iotest helpers into common.nbd file
tests: check if qemu-nbd is still alive before waiting
tests: add iotests helpers for dealing with TLS certificates
tests: exercise NBD server in TLS mode

 block/nbd-client.c            |   1 +
 nbd/server.c                  |   2 +-
 tests/qemu-iotests/058        |  47 ++----------
 tests/qemu-iotests/233        |  99 ++++++++++++++++++++++++
 tests/qemu-iotests/233.out    |  33 ++++++++
 tests/qemu-iotests/common.nbd | 111 +++++++++++++++++++++++++++
 tests/qemu-iotests/common.tls | 139 ++++++++++++++++++++++++++++++++++
 tests/qemu-iotests/group      |   1 +
 8 files changed, 393 insertions(+), 40 deletions(-)
 create mode 100755 tests/qemu-iotests/233
 create mode 100644 tests/qemu-iotests/233.out
 create mode 100644 tests/qemu-iotests/common.nbd
 create mode 100644 tests/qemu-iotests/common.tls
Signature · 1 line
2.19.1