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

2014-10-23 Thread Max Reitz
On 2014-10-23 at 09:46, Kevin Wolf wrote: Am 23.10.2014 um 09:26 hat Max Reitz geschrieben: On 2014-10-22 at 18:50, Eric Blake wrote: On 10/22/2014 09:57 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 th

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

2014-10-23 Thread Kevin Wolf
Am 23.10.2014 um 09:26 hat Max Reitz geschrieben: > On 2014-10-22 at 18:50, Eric Blake wrote: > >On 10/22/2014 09:57 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 l

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

2014-10-23 Thread Max Reitz
On 2014-10-22 at 18:50, Eric Blake wrote: On 10/22/2014 09:57 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. Signed-o

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

2014-10-22 Thread Eric Blake
On 10/22/2014 09:57 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. > > Signed-off-by: Max Reitz > --- > tests/qe