Skip to contentSkip to conversation

iotests: Specify format for qemu-nbd

PATCH Applied Max Reitz 2 participants 2 messages Jan 23, 2015 – Feb 3, 2015

lore
Share & tools
lore

Max Reitz

author
#0 lore raw

PATCH 1/1 iotests: Specify format for qemu-nbd

This patch is necessary to suppress the "probed raw" warning when running raw over nbd tests.

---
 tests/qemu-iotests/common.rc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/qemu-iotests/common.rc +1 -1
index aa093d9..22d3514 100644
@@ -153,7 +153,7 @@ _make_test_img()
 
     # Start an NBD server on the image file, which is what we'll be talking to
     if [ $IMGPROTO = "nbd" ]; then
-        eval "$QEMU_NBD -v -t -b 127.0.0.1 -p 10810  $TEST_IMG_FILE &"
+        eval "$QEMU_NBD -v -t -b 127.0.0.1 -p 10810 -f $IMGFMT  $TEST_IMG_FILE &"
         QEMU_NBD_PID=$!
         sleep 1 # FIXME: qemu-nbd needs to be listening before we continue
     fi
Signature · 1 line
2.1.0
Applied
#1 lore raw

Am 23.01.2015 um 20:28 hat Max Reitz geschrieben:

Quoted 4 lines

This patch is necessary to suppress the "probed raw" warning when running raw over nbd tests.

Thanks, applied to the block branch.

Kevin