block/qapi: Factor out bdrv_query_blk_stats()
commit2b77e60ab86e240a06f1ef117ecd488e85d6226e
authorKevin Wolf <kwolf@redhat.com>
Fri, 26 Feb 2016 18:02:30 +0000 (26 19:02 +0100)
committerKevin Wolf <kwolf@redhat.com>
Mon, 14 Mar 2016 15:46:42 +0000 (14 16:46 +0100)
tree6623497f7bb8b530386c18372e6d1239151ca974
parent396374caeadf044bad0aae9447eeeb109ea8651c
block/qapi: Factor out bdrv_query_blk_stats()

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

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