mirror of https://github.com/xqemu/xqemu.git
iotests: Specify format for qemu-nbd
This patch is necessary to suppress the "probed raw" warning when running raw over nbd tests. Signed-off-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
79e7a01954
commit
6440d44cea
|
@ -153,7 +153,7 @@ _make_test_img()
|
||||||
|
|
||||||
# Start an NBD server on the image file, which is what we'll be talking to
|
# Start an NBD server on the image file, which is what we'll be talking to
|
||||||
if [ $IMGPROTO = "nbd" ]; then
|
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=$!
|
QEMU_NBD_PID=$!
|
||||||
sleep 1 # FIXME: qemu-nbd needs to be listening before we continue
|
sleep 1 # FIXME: qemu-nbd needs to be listening before we continue
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue