[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v4 3/3] iotests: Add test for external image tru
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH v4 3/3] iotests: Add test for external image truncation |
Date: |
Fri, 24 Oct 2014 08:11:54 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 |
On 10/24/2014 04:58 AM, Max Reitz wrote:
> It should not be happening, but it is possible to truncate an image
> outside of qemu while qemu is running (or any of the qemu tools using
> the block layer. raw_co_get_block_status() should not break then.
>
> While touching this test, replace the existing "truncate" invocation by
> "$QEMU_IMG convert -f raw".
>
> Signed-off-by: Max Reitz <address@hidden>
> ---
> tests/qemu-iotests/102 | 21 +++++++++++++++++++--
> tests/qemu-iotests/102.out | 11 +++++++++++
> 2 files changed, 30 insertions(+), 2 deletions(-)
>
Reviewed-by: Eric Blake <address@hidden>
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] [PATCH v4 0/3] raw-posix: Fix raw_co_get_block_status(), Max Reitz, 2014/10/24
- [Qemu-devel] [PATCH v4 1/3] raw-posix: Fix raw_co_get_block_status() after EOF, Max Reitz, 2014/10/24
- [Qemu-devel] [PATCH v4 2/3] raw-posix: raw_co_get_block_status() return value, Max Reitz, 2014/10/24
- [Qemu-devel] [PATCH v4 3/3] iotests: Add test for external image truncation, Max Reitz, 2014/10/24
- Re: [Qemu-devel] [PATCH v4 3/3] iotests: Add test for external image truncation,
Eric Blake <=
- Re: [Qemu-devel] [PATCH v4 0/3] raw-posix: Fix raw_co_get_block_status(), Kevin Wolf, 2014/10/28
- Re: [Qemu-devel] [PATCH v4 0/3] raw-posix: Fix raw_co_get_block_status(), Stefan Hajnoczi, 2014/10/29