block/qapi: Factor out bdrv_query_bds_stats()
commitb07363a1a38695e12fc888b490b6215358752e85
authorKevin Wolf <kwolf@redhat.com>
Fri, 26 Feb 2016 20:03:01 +0000 (26 21:03 +0100)
committerKevin Wolf <kwolf@redhat.com>
Mon, 14 Mar 2016 15:46:42 +0000 (14 16:46 +0100)
tree58bd00cd11298b49c91c30678313eb92209950a7
parent2b77e60ab86e240a06f1ef117ecd488e85d6226e
block/qapi: Factor out bdrv_query_bds_stats()

The new functions handles the data that is taken from the
BlockDriverState.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
block/qapi.c