xref: /openbmc/qemu/tests/qemu-iotests/227.out (revision 1239ac241fe170bb9fcf0be74bfff04f6f1c2560)
1*1239ac24SKevin WolfQA output created by 227
2*1239ac24SKevin Wolf
3*1239ac24SKevin Wolf=== blockstats with -drive if=virtio ===
4*1239ac24SKevin Wolf
5*1239ac24SKevin WolfTesting: -drive driver=null-co,if=virtio
6*1239ac24SKevin Wolf{
7*1239ac24SKevin Wolf    QMP_VERSION
8*1239ac24SKevin Wolf}
9*1239ac24SKevin Wolf{
10*1239ac24SKevin Wolf    "return": {
11*1239ac24SKevin Wolf    }
12*1239ac24SKevin Wolf}
13*1239ac24SKevin Wolf{
14*1239ac24SKevin Wolf    "return": [
15*1239ac24SKevin Wolf        {
16*1239ac24SKevin Wolf            "device": "virtio0",
17*1239ac24SKevin Wolf            "stats": {
18*1239ac24SKevin Wolf                "flush_total_time_ns": 0,
19*1239ac24SKevin Wolf                "wr_highest_offset": 0,
20*1239ac24SKevin Wolf                "wr_total_time_ns": 0,
21*1239ac24SKevin Wolf                "failed_wr_operations": 0,
22*1239ac24SKevin Wolf                "failed_rd_operations": 0,
23*1239ac24SKevin Wolf                "wr_merged": 0,
24*1239ac24SKevin Wolf                "wr_bytes": 0,
25*1239ac24SKevin Wolf                "timed_stats": [
26*1239ac24SKevin Wolf                ],
27*1239ac24SKevin Wolf                "failed_flush_operations": 0,
28*1239ac24SKevin Wolf                "account_invalid": true,
29*1239ac24SKevin Wolf                "rd_total_time_ns": 0,
30*1239ac24SKevin Wolf                "flush_operations": 0,
31*1239ac24SKevin Wolf                "wr_operations": 0,
32*1239ac24SKevin Wolf                "rd_merged": 0,
33*1239ac24SKevin Wolf                "rd_bytes": 0,
34*1239ac24SKevin Wolf                "invalid_flush_operations": 0,
35*1239ac24SKevin Wolf                "account_failed": true,
36*1239ac24SKevin Wolf                "rd_operations": 0,
37*1239ac24SKevin Wolf                "invalid_wr_operations": 0,
38*1239ac24SKevin Wolf                "invalid_rd_operations": 0
39*1239ac24SKevin Wolf            },
40*1239ac24SKevin Wolf            "node-name": "NODE_NAME",
41*1239ac24SKevin Wolf            "qdev": "/machine/peripheral-anon/device[0]/virtio-backend"
42*1239ac24SKevin Wolf        }
43*1239ac24SKevin Wolf    ]
44*1239ac24SKevin Wolf}
45*1239ac24SKevin Wolf{
46*1239ac24SKevin Wolf    "return": {
47*1239ac24SKevin Wolf    }
48*1239ac24SKevin Wolf}
49*1239ac24SKevin Wolf{
50*1239ac24SKevin Wolf    "timestamp": {
51*1239ac24SKevin Wolf        "seconds":  TIMESTAMP,
52*1239ac24SKevin Wolf        "microseconds":  TIMESTAMP
53*1239ac24SKevin Wolf    },
54*1239ac24SKevin Wolf    "event": "SHUTDOWN",
55*1239ac24SKevin Wolf    "data": {
56*1239ac24SKevin Wolf        "guest": false
57*1239ac24SKevin Wolf    }
58*1239ac24SKevin Wolf}
59*1239ac24SKevin Wolf
60*1239ac24SKevin Wolf
61*1239ac24SKevin Wolf=== blockstats with -drive if=none ===
62*1239ac24SKevin Wolf
63*1239ac24SKevin WolfTesting: -drive driver=null-co,if=none
64*1239ac24SKevin Wolf{
65*1239ac24SKevin Wolf    QMP_VERSION
66*1239ac24SKevin Wolf}
67*1239ac24SKevin Wolf{
68*1239ac24SKevin Wolf    "return": {
69*1239ac24SKevin Wolf    }
70*1239ac24SKevin Wolf}
71*1239ac24SKevin Wolf{
72*1239ac24SKevin Wolf    "return": [
73*1239ac24SKevin Wolf        {
74*1239ac24SKevin Wolf            "device": "none0",
75*1239ac24SKevin Wolf            "stats": {
76*1239ac24SKevin Wolf                "flush_total_time_ns": 0,
77*1239ac24SKevin Wolf                "wr_highest_offset": 0,
78*1239ac24SKevin Wolf                "wr_total_time_ns": 0,
79*1239ac24SKevin Wolf                "failed_wr_operations": 0,
80*1239ac24SKevin Wolf                "failed_rd_operations": 0,
81*1239ac24SKevin Wolf                "wr_merged": 0,
82*1239ac24SKevin Wolf                "wr_bytes": 0,
83*1239ac24SKevin Wolf                "timed_stats": [
84*1239ac24SKevin Wolf                ],
85*1239ac24SKevin Wolf                "failed_flush_operations": 0,
86*1239ac24SKevin Wolf                "account_invalid": true,
87*1239ac24SKevin Wolf                "rd_total_time_ns": 0,
88*1239ac24SKevin Wolf                "flush_operations": 0,
89*1239ac24SKevin Wolf                "wr_operations": 0,
90*1239ac24SKevin Wolf                "rd_merged": 0,
91*1239ac24SKevin Wolf                "rd_bytes": 0,
92*1239ac24SKevin Wolf                "invalid_flush_operations": 0,
93*1239ac24SKevin Wolf                "account_failed": true,
94*1239ac24SKevin Wolf                "rd_operations": 0,
95*1239ac24SKevin Wolf                "invalid_wr_operations": 0,
96*1239ac24SKevin Wolf                "invalid_rd_operations": 0
97*1239ac24SKevin Wolf            },
98*1239ac24SKevin Wolf            "node-name": "NODE_NAME"
99*1239ac24SKevin Wolf        }
100*1239ac24SKevin Wolf    ]
101*1239ac24SKevin Wolf}
102*1239ac24SKevin Wolf{
103*1239ac24SKevin Wolf    "return": {
104*1239ac24SKevin Wolf    }
105*1239ac24SKevin Wolf}
106*1239ac24SKevin Wolf{
107*1239ac24SKevin Wolf    "timestamp": {
108*1239ac24SKevin Wolf        "seconds":  TIMESTAMP,
109*1239ac24SKevin Wolf        "microseconds":  TIMESTAMP
110*1239ac24SKevin Wolf    },
111*1239ac24SKevin Wolf    "event": "SHUTDOWN",
112*1239ac24SKevin Wolf    "data": {
113*1239ac24SKevin Wolf        "guest": false
114*1239ac24SKevin Wolf    }
115*1239ac24SKevin Wolf}
116*1239ac24SKevin Wolf
117*1239ac24SKevin Wolf
118*1239ac24SKevin Wolf=== blockstats with -blockdev ===
119*1239ac24SKevin Wolf
120*1239ac24SKevin WolfTesting: -blockdev driver=null-co,node-name=null
121*1239ac24SKevin Wolf{
122*1239ac24SKevin Wolf    QMP_VERSION
123*1239ac24SKevin Wolf}
124*1239ac24SKevin Wolf{
125*1239ac24SKevin Wolf    "return": {
126*1239ac24SKevin Wolf    }
127*1239ac24SKevin Wolf}
128*1239ac24SKevin Wolf{
129*1239ac24SKevin Wolf    "return": [
130*1239ac24SKevin Wolf    ]
131*1239ac24SKevin Wolf}
132*1239ac24SKevin Wolf{
133*1239ac24SKevin Wolf    "return": {
134*1239ac24SKevin Wolf    }
135*1239ac24SKevin Wolf}
136*1239ac24SKevin Wolf{
137*1239ac24SKevin Wolf    "timestamp": {
138*1239ac24SKevin Wolf        "seconds":  TIMESTAMP,
139*1239ac24SKevin Wolf        "microseconds":  TIMESTAMP
140*1239ac24SKevin Wolf    },
141*1239ac24SKevin Wolf    "event": "SHUTDOWN",
142*1239ac24SKevin Wolf    "data": {
143*1239ac24SKevin Wolf        "guest": false
144*1239ac24SKevin Wolf    }
145*1239ac24SKevin Wolf}
146*1239ac24SKevin Wolf
147*1239ac24SKevin Wolf
148*1239ac24SKevin Wolf=== blockstats with -blockdev and -device ===
149*1239ac24SKevin Wolf
150*1239ac24SKevin WolfTesting: -blockdev driver=null-co,node-name=null -device virtio-blk,drive=null,id=virtio0
151*1239ac24SKevin Wolf{
152*1239ac24SKevin Wolf    QMP_VERSION
153*1239ac24SKevin Wolf}
154*1239ac24SKevin Wolf{
155*1239ac24SKevin Wolf    "return": {
156*1239ac24SKevin Wolf    }
157*1239ac24SKevin Wolf}
158*1239ac24SKevin Wolf{
159*1239ac24SKevin Wolf    "return": [
160*1239ac24SKevin Wolf        {
161*1239ac24SKevin Wolf            "device": "",
162*1239ac24SKevin Wolf            "stats": {
163*1239ac24SKevin Wolf                "flush_total_time_ns": 0,
164*1239ac24SKevin Wolf                "wr_highest_offset": 0,
165*1239ac24SKevin Wolf                "wr_total_time_ns": 0,
166*1239ac24SKevin Wolf                "failed_wr_operations": 0,
167*1239ac24SKevin Wolf                "failed_rd_operations": 0,
168*1239ac24SKevin Wolf                "wr_merged": 0,
169*1239ac24SKevin Wolf                "wr_bytes": 0,
170*1239ac24SKevin Wolf                "timed_stats": [
171*1239ac24SKevin Wolf                ],
172*1239ac24SKevin Wolf                "failed_flush_operations": 0,
173*1239ac24SKevin Wolf                "account_invalid": false,
174*1239ac24SKevin Wolf                "rd_total_time_ns": 0,
175*1239ac24SKevin Wolf                "flush_operations": 0,
176*1239ac24SKevin Wolf                "wr_operations": 0,
177*1239ac24SKevin Wolf                "rd_merged": 0,
178*1239ac24SKevin Wolf                "rd_bytes": 0,
179*1239ac24SKevin Wolf                "invalid_flush_operations": 0,
180*1239ac24SKevin Wolf                "account_failed": false,
181*1239ac24SKevin Wolf                "rd_operations": 0,
182*1239ac24SKevin Wolf                "invalid_wr_operations": 0,
183*1239ac24SKevin Wolf                "invalid_rd_operations": 0
184*1239ac24SKevin Wolf            },
185*1239ac24SKevin Wolf            "node-name": "null",
186*1239ac24SKevin Wolf            "qdev": "/machine/peripheral/virtio0/virtio-backend"
187*1239ac24SKevin Wolf        }
188*1239ac24SKevin Wolf    ]
189*1239ac24SKevin Wolf}
190*1239ac24SKevin Wolf{
191*1239ac24SKevin Wolf    "return": {
192*1239ac24SKevin Wolf    }
193*1239ac24SKevin Wolf}
194*1239ac24SKevin Wolf{
195*1239ac24SKevin Wolf    "timestamp": {
196*1239ac24SKevin Wolf        "seconds":  TIMESTAMP,
197*1239ac24SKevin Wolf        "microseconds":  TIMESTAMP
198*1239ac24SKevin Wolf    },
199*1239ac24SKevin Wolf    "event": "SHUTDOWN",
200*1239ac24SKevin Wolf    "data": {
201*1239ac24SKevin Wolf        "guest": false
202*1239ac24SKevin Wolf    }
203*1239ac24SKevin Wolf}
204*1239ac24SKevin Wolf
205*1239ac24SKevin Wolf*** done
206