Re: [Qemu-devel] [PATCH v4 3/3] iotests: Add test for external image truncation

2014-10-24 Thread Eric Blake
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 exist

[Qemu-devel] [PATCH v4 3/3] iotests: Add test for external image truncation

2014-10-24 Thread Max Reitz
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