xref: /openbmc/qemu/tests/qemu-iotests/244.out (revision 88cd34ee)
1QA output created by 244
2
3=== Create and open image with external data file ===
4
5With data file name in the image:
6Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 data_file=TEST_DIR/t.IMGFMT.data
7No errors were found on the image.
8read 65536/65536 bytes at offset 0
964 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
10read 65536/65536 bytes at offset 0
1164 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
12qemu-io: can't open device TEST_DIR/t.qcow2: Could not open 'inexistent': No such file or directory
13no file open, try 'help open'
14
15Data file required, but without data file name in the image:
16qemu-io: can't open device TEST_DIR/t.qcow2: 'data-file' is required for this image
17no file open, try 'help open'
18read 65536/65536 bytes at offset 0
1964 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
20qemu-io: can't open device TEST_DIR/t.qcow2: Could not open 'inexistent': No such file or directory
21no file open, try 'help open'
22
23Setting data-file for an image with internal data:
24Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
25qemu-io: can't open device TEST_DIR/t.qcow2: 'data-file' can only be set for images with an external data file
26no file open, try 'help open'
27qemu-io: can't open device TEST_DIR/t.qcow2: Could not open 'inexistent': No such file or directory
28no file open, try 'help open'
29
30=== Conflicting features ===
31
32Convert to compressed target with data file:
33Formatting 'TEST_DIR/t.IMGFMT.src', fmt=IMGFMT size=67108864
34wrote 1048576/1048576 bytes at offset 0
351 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
36qemu-img: error while writing sector 0: Operation not supported
37
38Convert uncompressed, then write compressed data manually:
39Images are identical.
40write failed: Operation not supported
41No errors were found on the image.
42
43Take an internal snapshot:
44qemu-img: Could not create snapshot 'test': -95 (Operation not supported)
45No errors were found on the image.
46
47=== Standalone image with external data file (efficient) ===
48
49Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 data_file=TEST_DIR/t.IMGFMT.data
50qcow2 file size before I/O: 196616
51
52wrote 4194304/4194304 bytes at offset 1048576
534 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
54discard 2097152/2097152 bytes at offset 2097152
552 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
56wrote 3145728/3145728 bytes at offset 3145728
573 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
58No errors were found on the image.
59
60[{ "start": 0, "length": 1048576, "depth": 0, "zero": true, "data": false},
61{ "start": 1048576, "length": 1048576, "depth": 0, "zero": false, "data": true, "offset": 1048576},
62{ "start": 2097152, "length": 2097152, "depth": 0, "zero": true, "data": false},
63{ "start": 4194304, "length": 1048576, "depth": 0, "zero": true, "data": false, "offset": 4194304},
64{ "start": 5242880, "length": 61865984, "depth": 0, "zero": true, "data": false}]
65
66read 1048576/1048576 bytes at offset 0
671 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
68read 1048576/1048576 bytes at offset 1048576
691 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
70read 4194304/4194304 bytes at offset 2097152
714 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
72
73read 1048576/1048576 bytes at offset 0
741 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
75read 1048576/1048576 bytes at offset 1048576
761 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
77read 2097152/2097152 bytes at offset 2097152
782 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
79read 1048576/1048576 bytes at offset 4194304
801 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
81read 1048576/1048576 bytes at offset 5242880
821 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
83qcow2 file size after I/O: 327680
84
85=== Standalone image with external data file (valid raw) ===
86
87Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 data_file=TEST_DIR/t.IMGFMT.data data_file_raw=on
88qcow2 file size before I/O: 196616
89
90wrote 4194304/4194304 bytes at offset 1048576
914 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
92discard 2097152/2097152 bytes at offset 2097152
932 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
94wrote 3145728/3145728 bytes at offset 3145728
953 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
96No errors were found on the image.
97
98[{ "start": 0, "length": 1048576, "depth": 0, "zero": true, "data": false},
99{ "start": 1048576, "length": 1048576, "depth": 0, "zero": false, "data": true, "offset": 1048576},
100{ "start": 2097152, "length": 2097152, "depth": 0, "zero": true, "data": false},
101{ "start": 4194304, "length": 1048576, "depth": 0, "zero": true, "data": false, "offset": 4194304},
102{ "start": 5242880, "length": 61865984, "depth": 0, "zero": true, "data": false}]
103
104read 1048576/1048576 bytes at offset 0
1051 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
106read 1048576/1048576 bytes at offset 1048576
1071 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
108read 4194304/4194304 bytes at offset 2097152
1094 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
110
111Images are identical.
112qcow2 file size after I/O: 327680
113
114=== bdrv_co_block_status test for file and offset=0 ===
115
116Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 data_file=TEST_DIR/t.IMGFMT.data
117wrote 1048576/1048576 bytes at offset 0
1181 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
119read 1048576/1048576 bytes at offset 0
1201 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
121Offset          Length          Mapped to       File
1220               0x100000        0               TEST_DIR/t.qcow2.data
123[{ "start": 0, "length": 1048576, "depth": 0, "zero": false, "data": true, "offset": 0},
124{ "start": 1048576, "length": 66060288, "depth": 0, "zero": true, "data": false}]
125
126=== Copy offloading ===
127
128Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 data_file=TEST_DIR/t.IMGFMT.data
129Images are identical.
130Images are identical.
131*** done
132