block/qapi: Pass bdrv_query_blk_stats() s->stats
authorMax Reitz <mreitz@redhat.com>
Wed, 2 Mar 2016 17:31:09 +0000 (18:31 +0100)
committerKevin Wolf <kwolf@redhat.com>
Wed, 30 Mar 2016 09:59:32 +0000 (11:59 +0200)
commit543021569978c908fccff235bf90fc803e6fed1d
treee3516a9ff77a4267d444d8ad1cb657ead9915eae
parent0e8f44bee998ba7711b77efee7aee0aee688b4ad
block/qapi: Pass bdrv_query_blk_stats() s->stats

bdrv_query_blk_stats() does not need access to all of BlockStats,
BlockDeviceStats is enough and is what this function is actually
supposed to fill.

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