mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-28 05:50:37 +00:00
f7c1553388
This adds the skip option which allows qemu-img dd to skip a number of blocks before copying the input. A test case was added to test the skip option. Signed-off-by: Reda Sallahi <fullmanet@gmail.com> Message-id: 20160810141609.32727-1-fullmanet@gmail.com Signed-off-by: Max Reitz <mreitz@redhat.com>
52 lines
1.5 KiB
Plaintext
52 lines
1.5 KiB
Plaintext
QA output created by 160
|
|
|
|
== Creating image ==
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1048576
|
|
No errors were found on the image.
|
|
wrote 524288/524288 bytes at offset 24
|
|
512 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
== Converting the image with dd with skip=1 ==
|
|
No errors were found on the image.
|
|
|
|
== Compare the images with qemu-img compare ==
|
|
Images are identical.
|
|
|
|
== Creating image ==
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1048576
|
|
No errors were found on the image.
|
|
wrote 524288/524288 bytes at offset 24
|
|
512 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
== Converting the image with dd with skip=2 ==
|
|
No errors were found on the image.
|
|
|
|
== Compare the images with qemu-img compare ==
|
|
Images are identical.
|
|
|
|
== Creating image ==
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1048576
|
|
No errors were found on the image.
|
|
wrote 524288/524288 bytes at offset 24
|
|
512 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
== Converting the image with dd with skip=30 ==
|
|
No errors were found on the image.
|
|
|
|
== Compare the images with qemu-img compare ==
|
|
Images are identical.
|
|
|
|
== Creating image ==
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1048576
|
|
No errors were found on the image.
|
|
wrote 524288/524288 bytes at offset 24
|
|
512 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
== Converting the image with dd with skip=30K ==
|
|
No errors were found on the image.
|
|
|
|
== Compare the images with qemu-img compare ==
|
|
Images are identical.
|
|
|
|
*** done
|