Received: from eggs.gnu.org ([208.118.235.92]:46187) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1USS4Q-0000R2-La for qemu-devel@nongnu.org; Wed, 17 Apr 2013 09:06:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1USS4M-0008Ar-10 for qemu-devel@nongnu.org; Wed, 17 Apr 2013 09:06:42 -0400 Received: from mx1.redhat.com ([209.132.183.28]:20368) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1USS4L-0008AK-O3 for qemu-devel@nongnu.org; Wed, 17 Apr 2013 09:06:37 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r3HD6aHX029457 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 17 Apr 2013 09:06:36 -0400 Date: Wed, 17 Apr 2013 15:06:35 +0200 From: Kevin Wolf Message-ID: <20130417130634.GF3365@dhcp-200-207.str.redhat.com> References: <1366203538-28104-1-git-send-email-famz@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1366203538-28104-1-git-send-email-famz@redhat.com> Subject: Re: [Qemu-devel] [PATCH] qemu-iotests: Test subformats for vmdk List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng Cc: qemu-devel@nongnu.org, stefanha@redhat.com Am 17.04.2013 um 14:58 hat Fam Zheng geschrieben: > Added format options for testing vmdk subformats: > > $ ./check -h > Usage: ./check [options] [testlist] > > common options > -v verbose > > check options > ... > -vpc test vpc > -vmdk test vmdk (identical to -vmdk-monolithicSparse) > -vmdk-monolithicSparse > test vmdk monolithic sparse > -vmdk-monolithicFlat > test vmdk monolithic flat > -vmdk-twoGbMaxExtentSparse > test vmdk two gb splitted sparse > -vmdk-twoGbMaxExtentFlat > test vmdk two gb splitted sparse > -rbd test rbd > ... > > Signed-off-by: Fam Zheng Shouldn't -o be enough to cover all of this? For example, we're also running qcow2 tests with -o compat=[0.10|1.1] and don't introduce a separate option for each. In practice, of course, the problem is that the non-default is rarely run. Maybe we should add a tests/qemu-iotest-slow.sh that covers some more combinations. > @@ -124,6 +127,7 @@ _make_test_img() > -e "s# compat='[^']*'##g" \ > -e "s# compat6=\\(on\\|off\\)##g" \ > -e "s# static=\\(on\\|off\\)##g" \ > + -e "s# subformat='[^']*'##g" \ > -e "s# lazy_refcounts=\\(on\\|off\\)##g" > > # Start an NBD server on the image file, which is what we'll be talking to This hunk we'll need in any case, of course. Kevin