1 QA output created by 070
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. To replay the log, execute:
5 qemu-img check -r all 'TEST_DIR/iotest-dirtylog-10G-4M.vhdx': Operation not permitted
6 no file open, try 'help open'
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:
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)
22 === Verify image created by Disk2VHD can be opened ===
23 image: TEST_DIR/test-disk2vhd.IMGFMT
25 virtual size: 256M (268435456 bytes)