aboutsummaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>2019-03-05 15:53:17 +0300
committerKevin Wolf <kwolf@redhat.com>2019-03-12 20:30:08 +0100
commitcb8aac378368f3904e2fe4a1f89c16958d2b4218 (patch)
tree78b820a6a6b2ff3dfe065137893478131de1d382 /block
parentaf0a2265040ca571c31c88f62d46c24b0fcd6623 (diff)
downloadqemu-cb8aac378368f3904e2fe4a1f89c16958d2b4218.zip
qemu-cb8aac378368f3904e2fe4a1f89c16958d2b4218.tar.gz
qemu-cb8aac378368f3904e2fe4a1f89c16958d2b4218.tar.bz2
qapi: drop x- from x-block-latency-histogram-set
Drop x- and x_ prefixes for latency histograms and update version to 4.0 Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block')
-rw-r--r--block/qapi.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/block/qapi.c b/block/qapi.c
index 6002a76..21edab3 100644
--- a/block/qapi.c
+++ b/block/qapi.c
@@ -493,14 +493,14 @@ static void bdrv_query_blk_stats(BlockDeviceStats *ds, BlockBackend *blk)
}
bdrv_latency_histogram_stats(&stats->latency_histogram[BLOCK_ACCT_READ],
- &ds->has_x_rd_latency_histogram,
- &ds->x_rd_latency_histogram);
+ &ds->has_rd_latency_histogram,
+ &ds->rd_latency_histogram);
bdrv_latency_histogram_stats(&stats->latency_histogram[BLOCK_ACCT_WRITE],
- &ds->has_x_wr_latency_histogram,
- &ds->x_wr_latency_histogram);
+ &ds->has_wr_latency_histogram,
+ &ds->wr_latency_histogram);
bdrv_latency_histogram_stats(&stats->latency_histogram[BLOCK_ACCT_FLUSH],
- &ds->has_x_flush_latency_histogram,
- &ds->x_flush_latency_histogram);
+ &ds->has_flush_latency_histogram,
+ &ds->flush_latency_histogram);
}
static BlockStats *bdrv_query_bds_stats(BlockDriverState *bs,