From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36248) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTtGT-00012Y-Pw for qemu-devel@nongnu.org; Wed, 09 Oct 2013 08:53:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VTtGM-0004zu-J3 for qemu-devel@nongnu.org; Wed, 09 Oct 2013 08:53:21 -0400 Received: from mx1.redhat.com ([209.132.183.28]:19785) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTtGM-0004zY-BZ for qemu-devel@nongnu.org; Wed, 09 Oct 2013 08:53:14 -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 r99CAHnR011557 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 9 Oct 2013 08:10:18 -0400 Date: Wed, 9 Oct 2013 14:10:16 +0200 From: Kevin Wolf Message-ID: <20131009121016.GM8994@dhcp-200-207.str.redhat.com> References: <1e3369ae33d399a6cce0f21fbe4a7ce597c5f288.1380285609.git.jcody@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1e3369ae33d399a6cce0f21fbe4a7ce597c5f288.1380285609.git.jcody@redhat.com> Subject: Re: [Qemu-devel] [PATCH v4] block: qemu-iotests for vhdx, read sample dynamic image List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jeff Cody Cc: qemu-devel@nongnu.org, stefanha@redhat.com Am 27.09.2013 um 14:48 hat Jeff Cody geschrieben: > This adds the VHDX format to the qemu-iotests format, and adds > a read test. The test reads from an existing sample image, that > was created with Hyper-V under Windwos Server 2012. > > The image file is a 1GB dynamic image, with 32MB blocks. > > The pattern 0xa5 exists from 0MB-33MB (past a block size boundary) > > The pattern 0x96 exists from 33MB-66MB (past another block boundary, > and leaving a partial blank block) > > From 66MB-1024MB, all reads should return 0. > > Although 1GB dynamic image with 66MB of data, the bzip2'ed image > file size is only 874 bytes. > > This also adds in the IMGFMT_GENERIC flag, so r/o images can be > tested (e.g. ./check -vhdx) without failing tests that assume > r/w support. > > Signed-off-by: Jeff Cody Thanks, applied to the block branch. Kevin