block: add test for vhdx image created by Disk2VHD
commit26e2da72796c534ba3bc927a55a757d85bd10a3d
authorJeff Cody <jcody@redhat.com>
Tue, 13 May 2014 14:00:53 +0000 (13 10:00 -0400)
committerKevin Wolf <kwolf@redhat.com>
Mon, 19 May 2014 09:36:48 +0000 (19 11:36 +0200)
treed8274a24d46fc8ef39d583c9e102d71281ee36da
parent6906046169ffa9d829beeeaafe1fadeba51669fb
block: add test for vhdx image created by Disk2VHD

This adds a test for VHDX images created by Microsoft's tool, Disk2VHD.

VHDX images created by this tool have 2 identical header sections, with
identical sequence numbers.  This makes sure we detect VHDX images with
identical headers, and do not flag them as corrupt.

Signed-off-by: Jeff Cody <jcody@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/070
tests/qemu-iotests/070.out
tests/qemu-iotests/sample_images/test-disk2vhd.vhdx.bz2 [new file with mode: 0644]