mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
772a6e36a5
Prior to qemu 2.5 the node names would not be generated, thus would be missing from 'query-blockstats' and 'query-named-block-nodes'. Test that the code correctly detects nothing. Additionally make sure that a VM without disks does not cause problems. The test case change is necessary as our test file checker does not play well with empty files.
161 lines
4.5 KiB
JSON
161 lines
4.5 KiB
JSON
[
|
|
{
|
|
"device": "drive-virtio-disk0",
|
|
"parent": {
|
|
"stats": {
|
|
"flush_total_time_ns": 0,
|
|
"wr_highest_offset": 32899072,
|
|
"wr_total_time_ns": 0,
|
|
"failed_wr_operations": 0,
|
|
"failed_rd_operations": 0,
|
|
"wr_merged": 0,
|
|
"wr_bytes": 0,
|
|
"timed_stats": [
|
|
|
|
],
|
|
"failed_flush_operations": 0,
|
|
"account_invalid": false,
|
|
"rd_total_time_ns": 0,
|
|
"flush_operations": 0,
|
|
"wr_operations": 0,
|
|
"rd_merged": 0,
|
|
"rd_bytes": 0,
|
|
"invalid_flush_operations": 0,
|
|
"account_failed": false,
|
|
"rd_operations": 0,
|
|
"invalid_wr_operations": 0,
|
|
"invalid_rd_operations": 0
|
|
}
|
|
},
|
|
"stats": {
|
|
"flush_total_time_ns": 452246313,
|
|
"wr_highest_offset": 8072282112,
|
|
"wr_total_time_ns": 4803102521,
|
|
"failed_wr_operations": 0,
|
|
"failed_rd_operations": 0,
|
|
"wr_merged": 8,
|
|
"wr_bytes": 6517248,
|
|
"timed_stats": [
|
|
|
|
],
|
|
"failed_flush_operations": 0,
|
|
"account_invalid": true,
|
|
"rd_total_time_ns": 11065169148,
|
|
"flush_operations": 10,
|
|
"wr_operations": 129,
|
|
"rd_merged": 77,
|
|
"rd_bytes": 76399104,
|
|
"invalid_flush_operations": 0,
|
|
"account_failed": true,
|
|
"idle_time_ns": 22663656304,
|
|
"rd_operations": 4038,
|
|
"invalid_wr_operations": 0,
|
|
"invalid_rd_operations": 0
|
|
},
|
|
"backing": {
|
|
"parent": {
|
|
"stats": {
|
|
"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": [
|
|
|
|
],
|
|
"failed_flush_operations": 0,
|
|
"account_invalid": false,
|
|
"rd_total_time_ns": 0,
|
|
"flush_operations": 0,
|
|
"wr_operations": 0,
|
|
"rd_merged": 0,
|
|
"rd_bytes": 0,
|
|
"invalid_flush_operations": 0,
|
|
"account_failed": false,
|
|
"rd_operations": 0,
|
|
"invalid_wr_operations": 0,
|
|
"invalid_rd_operations": 0
|
|
}
|
|
},
|
|
"stats": {
|
|
"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": [
|
|
|
|
],
|
|
"failed_flush_operations": 0,
|
|
"account_invalid": false,
|
|
"rd_total_time_ns": 0,
|
|
"flush_operations": 0,
|
|
"wr_operations": 0,
|
|
"rd_merged": 0,
|
|
"rd_bytes": 0,
|
|
"invalid_flush_operations": 0,
|
|
"account_failed": false,
|
|
"rd_operations": 0,
|
|
"invalid_wr_operations": 0,
|
|
"invalid_rd_operations": 0
|
|
},
|
|
"backing": {
|
|
"parent": {
|
|
"stats": {
|
|
"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": [
|
|
|
|
],
|
|
"failed_flush_operations": 0,
|
|
"account_invalid": false,
|
|
"rd_total_time_ns": 0,
|
|
"flush_operations": 0,
|
|
"wr_operations": 0,
|
|
"rd_merged": 0,
|
|
"rd_bytes": 0,
|
|
"invalid_flush_operations": 0,
|
|
"account_failed": false,
|
|
"rd_operations": 0,
|
|
"invalid_wr_operations": 0,
|
|
"invalid_rd_operations": 0
|
|
}
|
|
},
|
|
"stats": {
|
|
"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": [
|
|
|
|
],
|
|
"failed_flush_operations": 0,
|
|
"account_invalid": false,
|
|
"rd_total_time_ns": 0,
|
|
"flush_operations": 0,
|
|
"wr_operations": 0,
|
|
"rd_merged": 0,
|
|
"rd_bytes": 0,
|
|
"invalid_flush_operations": 0,
|
|
"account_failed": false,
|
|
"rd_operations": 0,
|
|
"invalid_wr_operations": 0,
|
|
"invalid_rd_operations": 0
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|