summaryrefslogtreecommitdiffstats
path: root/include/block/qapi.h
diff options
context:
space:
mode:
authorStefan Hajnoczi2014-06-17 08:32:04 +0200
committerKevin Wolf2014-06-27 18:19:57 +0200
commitac46821f2c6eb0617ac911daff111cbc30a4c40c (patch)
tree15e3dcf00f0a031265bb946a3e7aa25255efe7e5 /include/block/qapi.h
parentvirtio-blk: Fix and clean up the in_sg and out_sg check (diff)
downloadqemu-ac46821f2c6eb0617ac911daff111cbc30a4c40c.tar.gz
qemu-ac46821f2c6eb0617ac911daff111cbc30a4c40c.tar.xz
qemu-ac46821f2c6eb0617ac911daff111cbc30a4c40c.zip
block: make bdrv_query_stats() static
This function is only called from block/qapi.c. There is no need to keep it public. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Fam Zheng <famz@redhat.com> Tested-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/block/qapi.h')
-rw-r--r--include/block/qapi.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/block/qapi.h b/include/block/qapi.h
index e92c00daf6..03745464d6 100644
--- a/include/block/qapi.h
+++ b/include/block/qapi.h
@@ -39,7 +39,6 @@ void bdrv_query_image_info(BlockDriverState *bs,
void bdrv_query_info(BlockDriverState *bs,
BlockInfo **p_info,
Error **errp);
-BlockStats *bdrv_query_stats(const BlockDriverState *bs);
void bdrv_snapshot_dump(fprintf_function func_fprintf, void *f,
QEMUSnapshotInfo *sn);