mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-28 14:00:44 +00:00
85456e0d16
This new test verifies that VMDK backing file reads fail when the backing file has a non-matching CID. This includes non-VMDK backing files. Signed-off-by: Max Reitz <mreitz@redhat.com> Message-id: 20180702210721.4847-3-mreitz@redhat.com Signed-off-by: Max Reitz <mreitz@redhat.com>
25 lines
805 B
Plaintext
25 lines
805 B
Plaintext
QA output created by 225
|
|
Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=1048576
|
|
Formatting 'TEST_DIR/t.IMGFMT.not_base', fmt=IMGFMT size=1048576
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1048576 backing_file=TEST_DIR/t.IMGFMT.base
|
|
|
|
=== Testing fitting VMDK backing image ===
|
|
|
|
QEMU X.Y.Z monitor - type 'help' for more information
|
|
(qemu) qemu-io overlay "read 0 512"
|
|
read 512/512 bytes at offset 0
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
=== Testing unrelated VMDK backing image ===
|
|
|
|
QEMU X.Y.Z monitor - type 'help' for more information
|
|
(qemu) qemu-io overlay "read 0 512"
|
|
read failed: Invalid argument
|
|
|
|
=== Testing non-VMDK backing image ===
|
|
|
|
QEMU X.Y.Z monitor - type 'help' for more information
|
|
(qemu) qemu-io overlay "read 0 512"
|
|
read failed: Invalid argument
|
|
*** done
|