xref: /openbmc/qemu/tests/qemu-iotests/244.out (revision e3a99063)
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 at byte 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 1048576/1048576 bytes at offset 4194304
781 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
79read 1048576/1048576 bytes at offset 5242880
801 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
81qcow2 file size after I/O: 327680
82
83=== Standalone image with external data file (valid raw) ===
84
85Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 data_file=TEST_DIR/t.IMGFMT.data data_file_raw=on
86qcow2 file size before I/O: 196616
87
88wrote 4194304/4194304 bytes at offset 1048576
894 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
90discard 2097152/2097152 bytes at offset 2097152
912 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
92wrote 3145728/3145728 bytes at offset 3145728
933 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
94No errors were found on the image.
95
96[{ "start": 0, "length": 1048576, "depth": 0, "zero": true, "data": false},
97{ "start": 1048576, "length": 1048576, "depth": 0, "zero": false, "data": true, "offset": 1048576},
98{ "start": 2097152, "length": 2097152, "depth": 0, "zero": true, "data": false},
99{ "start": 4194304, "length": 1048576, "depth": 0, "zero": true, "data": false, "offset": 4194304},
100{ "start": 5242880, "length": 61865984, "depth": 0, "zero": true, "data": false}]
101
102read 1048576/1048576 bytes at offset 0
1031 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
104read 1048576/1048576 bytes at offset 1048576
1051 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
106read 4194304/4194304 bytes at offset 2097152
1074 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
108
109read 1048576/1048576 bytes at offset 0
1101 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
111read 1048576/1048576 bytes at offset 1048576
1121 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
113read 3145728/3145728 bytes at offset 3145728
1143 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
115qcow2 file size after I/O: 327680
116
117=== bdrv_co_block_status test for file and offset=0 ===
118
119Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 data_file=TEST_DIR/t.IMGFMT.data
120wrote 1048576/1048576 bytes at offset 0
1211 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
122read 1048576/1048576 bytes at offset 0
1231 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
124Offset          Length          Mapped to       File
1250               0x100000        0               TEST_DIR/t.qcow2.data
126[{ "start": 0, "length": 1048576, "depth": 0, "zero": false, "data": true, "offset": 0},
127{ "start": 1048576, "length": 66060288, "depth": 0, "zero": true, "data": false}]
128
129=== Copy offloading ===
130
131Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 data_file=TEST_DIR/t.IMGFMT.data
132Images are identical.
133Images are identical.
134*** done
135