| 1 | QA output created by 070 |
| 2 | |
| 3 | === Verify open image read-only fails, due to dirty log === |
| 4 | qemu-io: can't open device TEST_DIR/iotest-dirtylog-10G-4M.vhdx: VHDX image file 'TEST_DIR/iotest-dirtylog-10G-4M.vhdx' opened read-only, but contains a log that needs to be replayed |
| 5 | To replay the log, run: |
| 6 | qemu-img check -r all 'TEST_DIR/iotest-dirtylog-10G-4M.vhdx' |
| 7 | === Verify open image replays log === |
| 8 | read 18874368/18874368 bytes at offset 0 |
| 9 | 18 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) |
| 10 | === Verify qemu-img check -r all replays log === |
| 11 | The following inconsistencies were found and repaired: |
| 12 | |
| 13 | 0 leaked clusters |
| 14 | 1 corruptions |
| 15 | |
| 16 | Double checking the fixed image now... |
| 17 | No errors were found on the image. |
| 18 | === Verify open image read-only succeeds after log replay === |
| 19 | read 18874368/18874368 bytes at offset 0 |
| 20 | 18 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) |
| 21 | |
| 22 | === Verify image created by Disk2VHD can be opened === |
| 23 | image: TEST_DIR/test-disk2vhd.IMGFMT |
| 24 | file format: IMGFMT |
| 25 | virtual size: 256 MiB (268435456 bytes) |
| 26 | cluster_size: 2097152 |
| 27 | *** done |