qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v7 19/19] block: vhdx qemu-iotest - log replay o


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH v7 19/19] block: vhdx qemu-iotest - log replay of data sector
Date: Fri, 18 Oct 2013 13:46:52 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Fri, Oct 11, 2013 at 02:17:39PM -0400, Jeff Cody wrote:
> This tests the replay of a data sector in a VHDX image file.
> 
> The image file is a 10G dynamic image, with 4MB block size.  The
> image was created with qemu-img, and the log left unplayed by
> modification of the vhdx image format driver.
> 
> It was verified under both QEMU and Hyper-V that the image file,
> post log replay, matched.
> 
> Signed-off-by: Jeff Cody <address@hidden>
> ---
>  tests/qemu-iotests/065                             |  67 
> +++++++++++++++++++++
>  tests/qemu-iotests/065.out                         |   8 +++
>  tests/qemu-iotests/group                           |   1 +
>  .../sample_images/iotest-dirtylog-10G-4M.vhdx.bz2  | Bin 0 -> 4490 bytes
>  4 files changed, 76 insertions(+)
>  create mode 100755 tests/qemu-iotests/065
>  create mode 100644 tests/qemu-iotests/065.out
>  create mode 100644 
> tests/qemu-iotests/sample_images/iotest-dirtylog-10G-4M.vhdx.bz2

It would be nice to add more extensive tests for log replay and
corruption in the future.

But this is a good start and doesn't hold up this series.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]