diff options
| author | Max Reitz | 2015-01-23 20:28:34 +0100 |
|---|---|---|
| committer | Kevin Wolf | 2015-02-06 17:24:21 +0100 |
| commit | 6440d44cea84451ee9facb1237a4e7251631df80 (patch) | |
| tree | e036af6aed47342c9a719106e0cdd134cc133285 | |
| parent | qemu-iotests: Fix supported_oses check (diff) | |
| download | qemu-6440d44cea84451ee9facb1237a4e7251631df80.tar.gz qemu-6440d44cea84451ee9facb1237a4e7251631df80.tar.xz qemu-6440d44cea84451ee9facb1237a4e7251631df80.zip | |
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>
| -rw-r--r-- | tests/qemu-iotests/common.rc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qemu-iotests/common.rc b/tests/qemu-iotests/common.rc index aa093d9d84..22d3514041 100644 --- a/tests/qemu-iotests/common.rc +++ b/tests/qemu-iotests/common.rc @@ -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 |
