2018-07-27 16:11:57 +02:00
|
|
|
QA output created by 227
|
|
|
|
|
|
|
|
=== blockstats with -drive if=virtio ===
|
|
|
|
|
2019-07-15 18:07:59 +02:00
|
|
|
Testing: -drive driver=null-co,read-zeroes=on,if=virtio
|
2018-07-27 16:11:57 +02:00
|
|
|
{
|
|
|
|
QMP_VERSION
|
|
|
|
}
|
|
|
|
{
|
|
|
|
"return": {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{
|
|
|
|
"return": [
|
|
|
|
{
|
|
|
|
"device": "virtio0",
|
|
|
|
"stats": {
|
2019-09-23 14:17:30 +02:00
|
|
|
"unmap_operations": 0,
|
|
|
|
"unmap_merged": 0,
|
2023-05-08 07:19:14 +02:00
|
|
|
"failed_zone_append_operations": 0,
|
2018-07-27 16:11:57 +02:00
|
|
|
"flush_total_time_ns": 0,
|
|
|
|
"wr_highest_offset": 0,
|
|
|
|
"wr_total_time_ns": 0,
|
|
|
|
"failed_wr_operations": 0,
|
|
|
|
"failed_rd_operations": 0,
|
|
|
|
"wr_merged": 0,
|
|
|
|
"wr_bytes": 0,
|
|
|
|
"timed_stats": [
|
|
|
|
],
|
2019-09-23 14:17:30 +02:00
|
|
|
"failed_unmap_operations": 0,
|
2023-05-08 07:19:14 +02:00
|
|
|
"zone_append_merged": 0,
|
2018-07-27 16:11:57 +02:00
|
|
|
"failed_flush_operations": 0,
|
|
|
|
"account_invalid": true,
|
|
|
|
"rd_total_time_ns": 0,
|
2019-09-23 14:17:30 +02:00
|
|
|
"invalid_unmap_operations": 0,
|
2018-07-27 16:11:57 +02:00
|
|
|
"flush_operations": 0,
|
|
|
|
"wr_operations": 0,
|
2019-09-23 14:17:30 +02:00
|
|
|
"unmap_bytes": 0,
|
2018-07-27 16:11:57 +02:00
|
|
|
"rd_merged": 0,
|
|
|
|
"rd_bytes": 0,
|
2019-09-23 14:17:30 +02:00
|
|
|
"unmap_total_time_ns": 0,
|
2018-07-27 16:11:57 +02:00
|
|
|
"invalid_flush_operations": 0,
|
|
|
|
"account_failed": true,
|
2023-05-08 07:19:14 +02:00
|
|
|
"zone_append_total_time_ns": 0,
|
|
|
|
"zone_append_operations": 0,
|
2018-07-27 16:11:57 +02:00
|
|
|
"rd_operations": 0,
|
2023-05-08 07:19:14 +02:00
|
|
|
"zone_append_bytes": 0,
|
|
|
|
"invalid_zone_append_operations": 0,
|
2018-07-27 16:11:57 +02:00
|
|
|
"invalid_wr_operations": 0,
|
|
|
|
"invalid_rd_operations": 0
|
|
|
|
},
|
|
|
|
"node-name": "NODE_NAME",
|
|
|
|
"qdev": "/machine/peripheral-anon/device[0]/virtio-backend"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
{
|
|
|
|
"timestamp": {
|
|
|
|
"seconds": TIMESTAMP,
|
|
|
|
"microseconds": TIMESTAMP
|
|
|
|
},
|
|
|
|
"event": "SHUTDOWN",
|
|
|
|
"data": {
|
2018-12-05 12:01:30 +01:00
|
|
|
"guest": false,
|
2018-12-05 12:01:31 +01:00
|
|
|
"reason": "host-qmp-quit"
|
2018-07-27 16:11:57 +02:00
|
|
|
}
|
|
|
|
}
|
2024-01-18 15:48:23 +01:00
|
|
|
{
|
|
|
|
"return": {
|
|
|
|
}
|
|
|
|
}
|
2018-07-27 16:11:57 +02:00
|
|
|
|
|
|
|
|
|
|
|
=== blockstats with -drive if=none ===
|
|
|
|
|
|
|
|
Testing: -drive driver=null-co,if=none
|
|
|
|
{
|
|
|
|
QMP_VERSION
|
|
|
|
}
|
|
|
|
{
|
|
|
|
"return": {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{
|
|
|
|
"return": [
|
|
|
|
{
|
|
|
|
"device": "none0",
|
|
|
|
"stats": {
|
2019-09-23 14:17:30 +02:00
|
|
|
"unmap_operations": 0,
|
|
|
|
"unmap_merged": 0,
|
2023-05-08 07:19:14 +02:00
|
|
|
"failed_zone_append_operations": 0,
|
2018-07-27 16:11:57 +02:00
|
|
|
"flush_total_time_ns": 0,
|
|
|
|
"wr_highest_offset": 0,
|
|
|
|
"wr_total_time_ns": 0,
|
|
|
|
"failed_wr_operations": 0,
|
|
|
|
"failed_rd_operations": 0,
|
|
|
|
"wr_merged": 0,
|
|
|
|
"wr_bytes": 0,
|
|
|
|
"timed_stats": [
|
|
|
|
],
|
2019-09-23 14:17:30 +02:00
|
|
|
"failed_unmap_operations": 0,
|
2023-05-08 07:19:14 +02:00
|
|
|
"zone_append_merged": 0,
|
2018-07-27 16:11:57 +02:00
|
|
|
"failed_flush_operations": 0,
|
|
|
|
"account_invalid": true,
|
|
|
|
"rd_total_time_ns": 0,
|
2019-09-23 14:17:30 +02:00
|
|
|
"invalid_unmap_operations": 0,
|
2018-07-27 16:11:57 +02:00
|
|
|
"flush_operations": 0,
|
|
|
|
"wr_operations": 0,
|
2019-09-23 14:17:30 +02:00
|
|
|
"unmap_bytes": 0,
|
2018-07-27 16:11:57 +02:00
|
|
|
"rd_merged": 0,
|
|
|
|
"rd_bytes": 0,
|
2019-09-23 14:17:30 +02:00
|
|
|
"unmap_total_time_ns": 0,
|
2018-07-27 16:11:57 +02:00
|
|
|
"invalid_flush_operations": 0,
|
|
|
|
"account_failed": true,
|
2023-05-08 07:19:14 +02:00
|
|
|
"zone_append_total_time_ns": 0,
|
|
|
|
"zone_append_operations": 0,
|
2018-07-27 16:11:57 +02:00
|
|
|
"rd_operations": 0,
|
2023-05-08 07:19:14 +02:00
|
|
|
"zone_append_bytes": 0,
|
|
|
|
"invalid_zone_append_operations": 0,
|
2018-07-27 16:11:57 +02:00
|
|
|
"invalid_wr_operations": 0,
|
|
|
|
"invalid_rd_operations": 0
|
|
|
|
},
|
|
|
|
"node-name": "NODE_NAME"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
{
|
|
|
|
"timestamp": {
|
|
|
|
"seconds": TIMESTAMP,
|
|
|
|
"microseconds": TIMESTAMP
|
|
|
|
},
|
|
|
|
"event": "SHUTDOWN",
|
|
|
|
"data": {
|
2018-12-05 12:01:30 +01:00
|
|
|
"guest": false,
|
2018-12-05 12:01:31 +01:00
|
|
|
"reason": "host-qmp-quit"
|
2018-07-27 16:11:57 +02:00
|
|
|
}
|
|
|
|
}
|
2024-01-18 15:48:23 +01:00
|
|
|
{
|
|
|
|
"return": {
|
|
|
|
}
|
|
|
|
}
|
2018-07-27 16:11:57 +02:00
|
|
|
|
|
|
|
|
|
|
|
=== blockstats with -blockdev ===
|
|
|
|
|
|
|
|
Testing: -blockdev driver=null-co,node-name=null
|
|
|
|
{
|
|
|
|
QMP_VERSION
|
|
|
|
}
|
|
|
|
{
|
|
|
|
"return": {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{
|
|
|
|
"return": [
|
|
|
|
]
|
|
|
|
}
|
|
|
|
{
|
|
|
|
"timestamp": {
|
|
|
|
"seconds": TIMESTAMP,
|
|
|
|
"microseconds": TIMESTAMP
|
|
|
|
},
|
|
|
|
"event": "SHUTDOWN",
|
|
|
|
"data": {
|
2018-12-05 12:01:30 +01:00
|
|
|
"guest": false,
|
2018-12-05 12:01:31 +01:00
|
|
|
"reason": "host-qmp-quit"
|
2018-07-27 16:11:57 +02:00
|
|
|
}
|
|
|
|
}
|
2024-01-18 15:48:23 +01:00
|
|
|
{
|
|
|
|
"return": {
|
|
|
|
}
|
|
|
|
}
|
2018-07-27 16:11:57 +02:00
|
|
|
|
|
|
|
|
|
|
|
=== blockstats with -blockdev and -device ===
|
|
|
|
|
2019-07-15 18:07:59 +02:00
|
|
|
Testing: -blockdev driver=null-co,read-zeroes=on,node-name=null -device virtio-blk,drive=null,id=virtio0
|
2018-07-27 16:11:57 +02:00
|
|
|
{
|
|
|
|
QMP_VERSION
|
|
|
|
}
|
|
|
|
{
|
|
|
|
"return": {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{
|
|
|
|
"return": [
|
|
|
|
{
|
|
|
|
"device": "",
|
|
|
|
"stats": {
|
2019-09-23 14:17:30 +02:00
|
|
|
"unmap_operations": 0,
|
|
|
|
"unmap_merged": 0,
|
2023-05-08 07:19:14 +02:00
|
|
|
"failed_zone_append_operations": 0,
|
2018-07-27 16:11:57 +02:00
|
|
|
"flush_total_time_ns": 0,
|
|
|
|
"wr_highest_offset": 0,
|
|
|
|
"wr_total_time_ns": 0,
|
|
|
|
"failed_wr_operations": 0,
|
|
|
|
"failed_rd_operations": 0,
|
|
|
|
"wr_merged": 0,
|
|
|
|
"wr_bytes": 0,
|
|
|
|
"timed_stats": [
|
|
|
|
],
|
2019-09-23 14:17:30 +02:00
|
|
|
"failed_unmap_operations": 0,
|
2023-05-08 07:19:14 +02:00
|
|
|
"zone_append_merged": 0,
|
2018-07-27 16:11:57 +02:00
|
|
|
"failed_flush_operations": 0,
|
2022-08-24 11:50:44 +02:00
|
|
|
"account_invalid": true,
|
2018-07-27 16:11:57 +02:00
|
|
|
"rd_total_time_ns": 0,
|
2019-09-23 14:17:30 +02:00
|
|
|
"invalid_unmap_operations": 0,
|
2018-07-27 16:11:57 +02:00
|
|
|
"flush_operations": 0,
|
|
|
|
"wr_operations": 0,
|
2019-09-23 14:17:30 +02:00
|
|
|
"unmap_bytes": 0,
|
2018-07-27 16:11:57 +02:00
|
|
|
"rd_merged": 0,
|
|
|
|
"rd_bytes": 0,
|
2019-09-23 14:17:30 +02:00
|
|
|
"unmap_total_time_ns": 0,
|
2018-07-27 16:11:57 +02:00
|
|
|
"invalid_flush_operations": 0,
|
2022-08-24 11:50:44 +02:00
|
|
|
"account_failed": true,
|
2023-05-08 07:19:14 +02:00
|
|
|
"zone_append_total_time_ns": 0,
|
|
|
|
"zone_append_operations": 0,
|
2018-07-27 16:11:57 +02:00
|
|
|
"rd_operations": 0,
|
2023-05-08 07:19:14 +02:00
|
|
|
"zone_append_bytes": 0,
|
|
|
|
"invalid_zone_append_operations": 0,
|
2018-07-27 16:11:57 +02:00
|
|
|
"invalid_wr_operations": 0,
|
|
|
|
"invalid_rd_operations": 0
|
|
|
|
},
|
|
|
|
"node-name": "null",
|
|
|
|
"qdev": "/machine/peripheral/virtio0/virtio-backend"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
{
|
|
|
|
"timestamp": {
|
|
|
|
"seconds": TIMESTAMP,
|
|
|
|
"microseconds": TIMESTAMP
|
|
|
|
},
|
|
|
|
"event": "SHUTDOWN",
|
|
|
|
"data": {
|
2018-12-05 12:01:30 +01:00
|
|
|
"guest": false,
|
2018-12-05 12:01:31 +01:00
|
|
|
"reason": "host-qmp-quit"
|
2018-07-27 16:11:57 +02:00
|
|
|
}
|
|
|
|
}
|
2024-01-18 15:48:23 +01:00
|
|
|
{
|
|
|
|
"return": {
|
|
|
|
}
|
|
|
|
}
|
2018-07-27 16:11:57 +02:00
|
|
|
|
|
|
|
*** done
|