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 <mre...@redhat.com> > --- > tests/qemu-iotests/102 | 21 +++++++++++++++++++-- > tests/qemu-iotests/102.out | 11 +++++++++++ > 2 files changed, 30 insertions(+), 2 deletions(-) >
Reviewed-by: Eric Blake <ebl...@redhat.com> -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature