From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48200) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xw6Ny-0007hX-7u for qemu-devel@nongnu.org; Wed, 03 Dec 2014 04:38:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xw6No-000527-PD for qemu-devel@nongnu.org; Wed, 03 Dec 2014 04:38:14 -0500 Received: from mx1.redhat.com ([209.132.183.28]:46102) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xw6No-00051z-I1 for qemu-devel@nongnu.org; Wed, 03 Dec 2014 04:38:04 -0500 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id sB39c3V0030093 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Wed, 3 Dec 2014 04:38:03 -0500 Date: Wed, 3 Dec 2014 17:38:00 +0800 From: Fam Zheng Message-ID: <20141203093800.GB14611@ad.nay.redhat.com> References: <1417598104-15054-1-git-send-email-mreitz@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1417598104-15054-1-git-send-email-mreitz@redhat.com> Subject: Re: [Qemu-devel] [PATCH] iotests: Specify qcow2 format for qemu-io in 059 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz Cc: Kevin Wolf , qemu-devel@nongnu.org, Stefan Hajnoczi On Wed, 12/03 10:15, Max Reitz wrote: > There are two instances of iotest 059 using qemu-io on a qcow2 image. As > of "qemu-iotests: Use qemu-io -f $IMGFMT" the iotests can no longer rely > on $QEMU_IO doing probing, therefore the qcow2 format has to be > specified explicitly here. > > Signed-off-by: Max Reitz > --- > tests/qemu-iotests/059 | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/tests/qemu-iotests/059 b/tests/qemu-iotests/059 > index 3c053c2..2ed1a7f 100755 > --- a/tests/qemu-iotests/059 > +++ b/tests/qemu-iotests/059 > @@ -106,8 +106,8 @@ _img_info > echo > echo "=== Converting to streamOptimized from image with small cluster size===" > TEST_IMG="$TEST_IMG.qcow2" IMGFMT=qcow2 IMGOPTS="cluster_size=4096" _make_test_img 1G > -$QEMU_IO -c "write -P 0xa 0 512" "$TEST_IMG.qcow2" | _filter_qemu_io > -$QEMU_IO -c "write -P 0xb 10240 512" "$TEST_IMG.qcow2" | _filter_qemu_io > +$QEMU_IO -f qcow2 -c "write -P 0xa 0 512" "$TEST_IMG.qcow2" | _filter_qemu_io > +$QEMU_IO -f qcow2 -c "write -P 0xb 10240 512" "$TEST_IMG.qcow2" | _filter_qemu_io > $QEMU_IMG convert -f qcow2 -O vmdk -o subformat=streamOptimized "$TEST_IMG.qcow2" "$TEST_IMG" 2>&1 > > echo > -- > 1.9.3 > Reviewed-by: Fam Zheng