mirror of
https://github.com/qemu/qemu.git
synced 2025-08-15 22:31:15 +00:00

Passing -S 0 to qemu-img convert should result in all source data being copied to the output, even if that source data is known to be 0. The output image should therefore have exactly the same size on disk as an image which we explicitly filled with data. Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Fam Zheng <famz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
15 lines
394 B
Plaintext
15 lines
394 B
Plaintext
QA output created by 150
|
|
|
|
=== Comparing empty image against sparse conversion ===
|
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1048576
|
|
Equal image size
|
|
|
|
=== Comparing full image against non-sparse conversion ===
|
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1048576
|
|
wrote 1048576/1048576 bytes at offset 0
|
|
1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
Equal image size
|
|
*** done
|