On Wed, Sep 25, 2013 at 05:03:03PM -0400, Jeff Cody wrote:
> 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.
>
> Signed-off-by: Jeff Cody <[email protected]>
This has been superseded by this stand-alone patch:
[PATCH v4] block: qemu-iotests for vhdx, read sample dynamic image