qemu-patch-raspberry4/tests/qemu-iotests/150.out
Max Reitz 1fd06db03d iotests: Make 150 use qemu-img map instead of du
The actual on-disk size of a file does not only depend on factors qemu
can control. Thus, we should not depend on this to determine whether a
file has indeed been fully allocated. Instead, use qemu-img map and hope
that if an area is referenced, it is indeed allocated, too.

Also, limit the supported image formats to raw and qcow2 because the
actual qemu-img map output may depend on the image format.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Tested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2016-04-12 18:06:51 +02:00

12 lines
234 B
Plaintext

QA output created by 150
=== Mapping sparse conversion ===
Offset Length File
=== Mapping non-sparse conversion ===
Offset Length File
0 0x100000 TEST_DIR/t.IMGFMT
*** done