qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v2 3/3] iotests: Add test for map commands


From: Max Reitz
Subject: Re: [Qemu-devel] [PATCH v2 3/3] iotests: Add test for map commands
Date: Wed, 22 Oct 2014 16:48:00 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0

On 2014-10-22 at 15:54, Max Reitz wrote:
On 2014-10-22 at 15:51, Kevin Wolf wrote:
Am 22.10.2014 um 15:24 hat Max Reitz geschrieben:
Add a test for qemu-img map and qemu-io -c map on truncated files.

Signed-off-by: Max Reitz <address@hidden>
Reviewed-by: Kevin Wolf <address@hidden>

But how about adding a case for patch 2, too? Or is that one mostly
theoretical (like the image file being modified in the background) and
not reproducible reliably?

See the cover letter, I could not find a way to test patch 2 without triggering the changes introduced by patch 1. Yes, modifying the image in the background could be a way to do this. I could try, but I don't know if we really need a test for it.

I'll give myself a couple of minutes and if it doesn't work, well, then this test stays the same in v3.

And I just realized that my series "raw-posix: Fix raw_co_get_block_status()" contains exactly such a test, which is also the reason why it doesn't work without this series.

Max



reply via email to

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