xref: /openbmc/qemu/tests/qemu-iotests/290.out (revision d2628b1eb761a5fbf08f367da405eb3314a1f068)
180f5c011SAlberto GarciaQA output created by 290
280f5c011SAlberto Garcia
380f5c011SAlberto Garcia### Test 'qemu-io -c discard' on a QCOW2 image without a backing file
480f5c011SAlberto Garcia
580f5c011SAlberto Garcia# Create an image with compat=0.10 without a backing file
680f5c011SAlberto GarciaFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=131072
780f5c011SAlberto Garcia# Fill all clusters with data and then discard them
880f5c011SAlberto Garciawrote 131072/131072 bytes at offset 0
980f5c011SAlberto Garcia128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1080f5c011SAlberto Garciadiscard 131072/131072 bytes at offset 0
1180f5c011SAlberto Garcia128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1280f5c011SAlberto Garcia# Read the data from the discarded clusters
1380f5c011SAlberto Garciaread 131072/131072 bytes at offset 0
1480f5c011SAlberto Garcia128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1580f5c011SAlberto Garcia# Output of qemu-img map
1680f5c011SAlberto GarciaOffset          Length          Mapped to       File
1780f5c011SAlberto Garcia# Create an image with compat=1.1 without a backing file
1880f5c011SAlberto GarciaFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=131072
1980f5c011SAlberto Garcia# Fill all clusters with data and then discard them
2080f5c011SAlberto Garciawrote 131072/131072 bytes at offset 0
2180f5c011SAlberto Garcia128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2280f5c011SAlberto Garciadiscard 131072/131072 bytes at offset 0
2380f5c011SAlberto Garcia128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2480f5c011SAlberto Garcia# Read the data from the discarded clusters
2580f5c011SAlberto Garciaread 131072/131072 bytes at offset 0
2680f5c011SAlberto Garcia128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2780f5c011SAlberto Garcia# Output of qemu-img map
2880f5c011SAlberto GarciaOffset          Length          Mapped to       File
2980f5c011SAlberto Garcia
3080f5c011SAlberto Garcia### Test 'qemu-io -c discard' on a QCOW2 image with a backing file
3180f5c011SAlberto Garcia
3280f5c011SAlberto Garcia# Create a backing image and fill it with data
3380f5c011SAlberto GarciaFormatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=131072
3480f5c011SAlberto Garciawrote 131072/131072 bytes at offset 0
3580f5c011SAlberto Garcia128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
3680f5c011SAlberto Garcia# Create an image with compat=0.10 and a backing file
37*b66ff2c2SEric BlakeFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=131072 backing_file=TEST_DIR/t.IMGFMT.base backing_fmt=IMGFMT
3880f5c011SAlberto Garcia# Fill all clusters with data and then discard them
3980f5c011SAlberto Garciawrote 131072/131072 bytes at offset 0
4080f5c011SAlberto Garcia128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
4180f5c011SAlberto Garciadiscard 131072/131072 bytes at offset 0
4280f5c011SAlberto Garcia128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
4380f5c011SAlberto Garcia# Read the data from the discarded clusters
4480f5c011SAlberto Garciaread 131072/131072 bytes at offset 0
4580f5c011SAlberto Garcia128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
4680f5c011SAlberto Garcia# Output of qemu-img map
4780f5c011SAlberto GarciaOffset          Length          Mapped to       File
4880f5c011SAlberto Garcia0               0x20000         0x50000         TEST_DIR/t.qcow2
4980f5c011SAlberto Garcia# Create an image with compat=1.1 and a backing file
50*b66ff2c2SEric BlakeFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=131072 backing_file=TEST_DIR/t.IMGFMT.base backing_fmt=IMGFMT
5180f5c011SAlberto Garcia# Fill all clusters with data and then discard them
5280f5c011SAlberto Garciawrote 131072/131072 bytes at offset 0
5380f5c011SAlberto Garcia128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
5480f5c011SAlberto Garciadiscard 131072/131072 bytes at offset 0
5580f5c011SAlberto Garcia128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
5680f5c011SAlberto Garcia# Read the data from the discarded clusters
5780f5c011SAlberto Garciaread 131072/131072 bytes at offset 0
5880f5c011SAlberto Garcia128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
5980f5c011SAlberto Garcia# Output of qemu-img map
6080f5c011SAlberto GarciaOffset          Length          Mapped to       File
6180f5c011SAlberto Garcia*** done
62