xref: /openbmc/qemu/tests/qemu-iotests/227.out (revision f389309d2937e66960dd371014a1971678fb4ce7)
11239ac24SKevin WolfQA output created by 227
21239ac24SKevin Wolf
31239ac24SKevin Wolf=== blockstats with -drive if=virtio ===
41239ac24SKevin Wolf
5a6862418SAndrey ShinkevichTesting: -drive driver=null-co,read-zeroes=on,if=virtio
61239ac24SKevin Wolf{
71239ac24SKevin Wolf    QMP_VERSION
81239ac24SKevin Wolf}
91239ac24SKevin Wolf{
101239ac24SKevin Wolf    "return": {
111239ac24SKevin Wolf    }
121239ac24SKevin Wolf}
131239ac24SKevin Wolf{
141239ac24SKevin Wolf    "return": [
151239ac24SKevin Wolf        {
161239ac24SKevin Wolf            "device": "virtio0",
171239ac24SKevin Wolf            "stats": {
18159f85ddSAnton Nefedov                "unmap_operations": 0,
19159f85ddSAnton Nefedov                "unmap_merged": 0,
2052eb76f4SSam Li                "failed_zone_append_operations": 0,
211239ac24SKevin Wolf                "flush_total_time_ns": 0,
221239ac24SKevin Wolf                "wr_highest_offset": 0,
231239ac24SKevin Wolf                "wr_total_time_ns": 0,
241239ac24SKevin Wolf                "failed_wr_operations": 0,
251239ac24SKevin Wolf                "failed_rd_operations": 0,
261239ac24SKevin Wolf                "wr_merged": 0,
271239ac24SKevin Wolf                "wr_bytes": 0,
281239ac24SKevin Wolf                "timed_stats": [
291239ac24SKevin Wolf                ],
30159f85ddSAnton Nefedov                "failed_unmap_operations": 0,
3152eb76f4SSam Li                "zone_append_merged": 0,
321239ac24SKevin Wolf                "failed_flush_operations": 0,
331239ac24SKevin Wolf                "account_invalid": true,
341239ac24SKevin Wolf                "rd_total_time_ns": 0,
35159f85ddSAnton Nefedov                "invalid_unmap_operations": 0,
361239ac24SKevin Wolf                "flush_operations": 0,
371239ac24SKevin Wolf                "wr_operations": 0,
38159f85ddSAnton Nefedov                "unmap_bytes": 0,
391239ac24SKevin Wolf                "rd_merged": 0,
401239ac24SKevin Wolf                "rd_bytes": 0,
41159f85ddSAnton Nefedov                "unmap_total_time_ns": 0,
421239ac24SKevin Wolf                "invalid_flush_operations": 0,
431239ac24SKevin Wolf                "account_failed": true,
4452eb76f4SSam Li                "zone_append_total_time_ns": 0,
4552eb76f4SSam Li                "zone_append_operations": 0,
461239ac24SKevin Wolf                "rd_operations": 0,
4752eb76f4SSam Li                "zone_append_bytes": 0,
4852eb76f4SSam Li                "invalid_zone_append_operations": 0,
491239ac24SKevin Wolf                "invalid_wr_operations": 0,
501239ac24SKevin Wolf                "invalid_rd_operations": 0
511239ac24SKevin Wolf            },
521239ac24SKevin Wolf            "node-name": "NODE_NAME",
531239ac24SKevin Wolf            "qdev": "/machine/peripheral-anon/device[0]/virtio-backend"
541239ac24SKevin Wolf        }
551239ac24SKevin Wolf    ]
561239ac24SKevin Wolf}
571239ac24SKevin Wolf{
581239ac24SKevin Wolf    "timestamp": {
591239ac24SKevin Wolf        "seconds":  TIMESTAMP,
601239ac24SKevin Wolf        "microseconds":  TIMESTAMP
611239ac24SKevin Wolf    },
621239ac24SKevin Wolf    "event": "SHUTDOWN",
631239ac24SKevin Wolf    "data": {
64ecd7a0d5SDominik Csapak        "guest": false,
6592548938SDominik Csapak        "reason": "host-qmp-quit"
661239ac24SKevin Wolf    }
671239ac24SKevin Wolf}
68*f389309dSStefan Hajnoczi{
69*f389309dSStefan Hajnoczi    "return": {
70*f389309dSStefan Hajnoczi    }
71*f389309dSStefan Hajnoczi}
721239ac24SKevin Wolf
731239ac24SKevin Wolf
741239ac24SKevin Wolf=== blockstats with -drive if=none ===
751239ac24SKevin Wolf
761239ac24SKevin WolfTesting: -drive driver=null-co,if=none
771239ac24SKevin Wolf{
781239ac24SKevin Wolf    QMP_VERSION
791239ac24SKevin Wolf}
801239ac24SKevin Wolf{
811239ac24SKevin Wolf    "return": {
821239ac24SKevin Wolf    }
831239ac24SKevin Wolf}
841239ac24SKevin Wolf{
851239ac24SKevin Wolf    "return": [
861239ac24SKevin Wolf        {
871239ac24SKevin Wolf            "device": "none0",
881239ac24SKevin Wolf            "stats": {
89159f85ddSAnton Nefedov                "unmap_operations": 0,
90159f85ddSAnton Nefedov                "unmap_merged": 0,
9152eb76f4SSam Li                "failed_zone_append_operations": 0,
921239ac24SKevin Wolf                "flush_total_time_ns": 0,
931239ac24SKevin Wolf                "wr_highest_offset": 0,
941239ac24SKevin Wolf                "wr_total_time_ns": 0,
951239ac24SKevin Wolf                "failed_wr_operations": 0,
961239ac24SKevin Wolf                "failed_rd_operations": 0,
971239ac24SKevin Wolf                "wr_merged": 0,
981239ac24SKevin Wolf                "wr_bytes": 0,
991239ac24SKevin Wolf                "timed_stats": [
1001239ac24SKevin Wolf                ],
101159f85ddSAnton Nefedov                "failed_unmap_operations": 0,
10252eb76f4SSam Li                "zone_append_merged": 0,
1031239ac24SKevin Wolf                "failed_flush_operations": 0,
1041239ac24SKevin Wolf                "account_invalid": true,
1051239ac24SKevin Wolf                "rd_total_time_ns": 0,
106159f85ddSAnton Nefedov                "invalid_unmap_operations": 0,
1071239ac24SKevin Wolf                "flush_operations": 0,
1081239ac24SKevin Wolf                "wr_operations": 0,
109159f85ddSAnton Nefedov                "unmap_bytes": 0,
1101239ac24SKevin Wolf                "rd_merged": 0,
1111239ac24SKevin Wolf                "rd_bytes": 0,
112159f85ddSAnton Nefedov                "unmap_total_time_ns": 0,
1131239ac24SKevin Wolf                "invalid_flush_operations": 0,
1141239ac24SKevin Wolf                "account_failed": true,
11552eb76f4SSam Li                "zone_append_total_time_ns": 0,
11652eb76f4SSam Li                "zone_append_operations": 0,
1171239ac24SKevin Wolf                "rd_operations": 0,
11852eb76f4SSam Li                "zone_append_bytes": 0,
11952eb76f4SSam Li                "invalid_zone_append_operations": 0,
1201239ac24SKevin Wolf                "invalid_wr_operations": 0,
1211239ac24SKevin Wolf                "invalid_rd_operations": 0
1221239ac24SKevin Wolf            },
1231239ac24SKevin Wolf            "node-name": "NODE_NAME"
1241239ac24SKevin Wolf        }
1251239ac24SKevin Wolf    ]
1261239ac24SKevin Wolf}
1271239ac24SKevin Wolf{
1281239ac24SKevin Wolf    "timestamp": {
1291239ac24SKevin Wolf        "seconds":  TIMESTAMP,
1301239ac24SKevin Wolf        "microseconds":  TIMESTAMP
1311239ac24SKevin Wolf    },
1321239ac24SKevin Wolf    "event": "SHUTDOWN",
1331239ac24SKevin Wolf    "data": {
134ecd7a0d5SDominik Csapak        "guest": false,
13592548938SDominik Csapak        "reason": "host-qmp-quit"
1361239ac24SKevin Wolf    }
1371239ac24SKevin Wolf}
138*f389309dSStefan Hajnoczi{
139*f389309dSStefan Hajnoczi    "return": {
140*f389309dSStefan Hajnoczi    }
141*f389309dSStefan Hajnoczi}
1421239ac24SKevin Wolf
1431239ac24SKevin Wolf
1441239ac24SKevin Wolf=== blockstats with -blockdev ===
1451239ac24SKevin Wolf
1461239ac24SKevin WolfTesting: -blockdev driver=null-co,node-name=null
1471239ac24SKevin Wolf{
1481239ac24SKevin Wolf    QMP_VERSION
1491239ac24SKevin Wolf}
1501239ac24SKevin Wolf{
1511239ac24SKevin Wolf    "return": {
1521239ac24SKevin Wolf    }
1531239ac24SKevin Wolf}
1541239ac24SKevin Wolf{
1551239ac24SKevin Wolf    "return": [
1561239ac24SKevin Wolf    ]
1571239ac24SKevin Wolf}
1581239ac24SKevin Wolf{
1591239ac24SKevin Wolf    "timestamp": {
1601239ac24SKevin Wolf        "seconds":  TIMESTAMP,
1611239ac24SKevin Wolf        "microseconds":  TIMESTAMP
1621239ac24SKevin Wolf    },
1631239ac24SKevin Wolf    "event": "SHUTDOWN",
1641239ac24SKevin Wolf    "data": {
165ecd7a0d5SDominik Csapak        "guest": false,
16692548938SDominik Csapak        "reason": "host-qmp-quit"
1671239ac24SKevin Wolf    }
1681239ac24SKevin Wolf}
169*f389309dSStefan Hajnoczi{
170*f389309dSStefan Hajnoczi    "return": {
171*f389309dSStefan Hajnoczi    }
172*f389309dSStefan Hajnoczi}
1731239ac24SKevin Wolf
1741239ac24SKevin Wolf
1751239ac24SKevin Wolf=== blockstats with -blockdev and -device ===
1761239ac24SKevin Wolf
177a6862418SAndrey ShinkevichTesting: -blockdev driver=null-co,read-zeroes=on,node-name=null -device virtio-blk,drive=null,id=virtio0
1781239ac24SKevin Wolf{
1791239ac24SKevin Wolf    QMP_VERSION
1801239ac24SKevin Wolf}
1811239ac24SKevin Wolf{
1821239ac24SKevin Wolf    "return": {
1831239ac24SKevin Wolf    }
1841239ac24SKevin Wolf}
1851239ac24SKevin Wolf{
1861239ac24SKevin Wolf    "return": [
1871239ac24SKevin Wolf        {
1881239ac24SKevin Wolf            "device": "",
1891239ac24SKevin Wolf            "stats": {
190159f85ddSAnton Nefedov                "unmap_operations": 0,
191159f85ddSAnton Nefedov                "unmap_merged": 0,
19252eb76f4SSam Li                "failed_zone_append_operations": 0,
1931239ac24SKevin Wolf                "flush_total_time_ns": 0,
1941239ac24SKevin Wolf                "wr_highest_offset": 0,
1951239ac24SKevin Wolf                "wr_total_time_ns": 0,
1961239ac24SKevin Wolf                "failed_wr_operations": 0,
1971239ac24SKevin Wolf                "failed_rd_operations": 0,
1981239ac24SKevin Wolf                "wr_merged": 0,
1991239ac24SKevin Wolf                "wr_bytes": 0,
2001239ac24SKevin Wolf                "timed_stats": [
2011239ac24SKevin Wolf                ],
202159f85ddSAnton Nefedov                "failed_unmap_operations": 0,
20352eb76f4SSam Li                "zone_append_merged": 0,
2041239ac24SKevin Wolf                "failed_flush_operations": 0,
20562a6c300SDenis V. Lunev                "account_invalid": true,
2061239ac24SKevin Wolf                "rd_total_time_ns": 0,
207159f85ddSAnton Nefedov                "invalid_unmap_operations": 0,
2081239ac24SKevin Wolf                "flush_operations": 0,
2091239ac24SKevin Wolf                "wr_operations": 0,
210159f85ddSAnton Nefedov                "unmap_bytes": 0,
2111239ac24SKevin Wolf                "rd_merged": 0,
2121239ac24SKevin Wolf                "rd_bytes": 0,
213159f85ddSAnton Nefedov                "unmap_total_time_ns": 0,
2141239ac24SKevin Wolf                "invalid_flush_operations": 0,
21562a6c300SDenis V. Lunev                "account_failed": true,
21652eb76f4SSam Li                "zone_append_total_time_ns": 0,
21752eb76f4SSam Li                "zone_append_operations": 0,
2181239ac24SKevin Wolf                "rd_operations": 0,
21952eb76f4SSam Li                "zone_append_bytes": 0,
22052eb76f4SSam Li                "invalid_zone_append_operations": 0,
2211239ac24SKevin Wolf                "invalid_wr_operations": 0,
2221239ac24SKevin Wolf                "invalid_rd_operations": 0
2231239ac24SKevin Wolf            },
2241239ac24SKevin Wolf            "node-name": "null",
2251239ac24SKevin Wolf            "qdev": "/machine/peripheral/virtio0/virtio-backend"
2261239ac24SKevin Wolf        }
2271239ac24SKevin Wolf    ]
2281239ac24SKevin Wolf}
2291239ac24SKevin Wolf{
2301239ac24SKevin Wolf    "timestamp": {
2311239ac24SKevin Wolf        "seconds":  TIMESTAMP,
2321239ac24SKevin Wolf        "microseconds":  TIMESTAMP
2331239ac24SKevin Wolf    },
2341239ac24SKevin Wolf    "event": "SHUTDOWN",
2351239ac24SKevin Wolf    "data": {
236ecd7a0d5SDominik Csapak        "guest": false,
23792548938SDominik Csapak        "reason": "host-qmp-quit"
2381239ac24SKevin Wolf    }
2391239ac24SKevin Wolf}
240*f389309dSStefan Hajnoczi{
241*f389309dSStefan Hajnoczi    "return": {
242*f389309dSStefan Hajnoczi    }
243*f389309dSStefan Hajnoczi}
2441239ac24SKevin Wolf
2451239ac24SKevin Wolf*** done
246