Skip to content

iotests: Skip 162 if there is no SSH support

Max Reitz qemu-devel 1 version Applied

Status from this message: Applied to my block tree.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 8 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3block: Fix bdrv_iterate_format() sortingblock.c+1 -11 reply
2/3block: Emit modules in bdrv_iterate_format()block.c+18 -05 replies
3/3iotests: Skip test 162 if there is no SSH supporttests/qemu-iotests/162+3 -01 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchEric Blake
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/3] iotests: Skip 162 if there is no SSH support

As reported by Hao QingFeng, iotest 162 is currently executed even if qemu does not have any SSH support (which makes it fail, naturally).

Fixing that is not so trivial, because qemu-img currently does not report modules, and SSH can be compiled as a module, so that needs to be fixed first. While doing so, I noticed that bdrv_iterate_format() tries to sort the list of formats, which is a bit contrary to my experience. Turns out that needs to be fixed, too.

This series can either be applied on top of my series "iotests: Fix test 162" or just directly on master, both works (i.e. the patches in this series do not interfere with those from that one). I still thought I'd mention that series, if nothing else then only to get you to review that other one. ;-)

Max Reitz (3):
block: Fix bdrv_iterate_format() sorting
block: Emit modules in bdrv_iterate_format()
iotests: Skip test 162 if there is no SSH support

 block.c                | 20 +++++++++++++++++++-
 tests/qemu-iotests/162 |  3 +++
 2 files changed, 22 insertions(+), 1 deletion(-)
Signature · 1 line
2.10.0