block: Move BlockAcctStats into BlockBackend
As the comment above bdrv_get_stats() says, BlockAcctStats is something which belongs to the device instead of each BlockDriverState. This patch therefore moves it into the BlockBackend. Signed-off-by:Max Reitz <mreitz@redhat.com> Reviewed-by:
Eric Blake <eblake@redhat.com> Reviewed-by:
Alberto Garcia <berto@igalia.com> Reviewed-by:
Kevin Wolf <kwolf@redhat.com> Signed-off-by:
Kevin Wolf <kwolf@redhat.com>
Showing
- block.c 0 additions, 11 deletionsblock.c
- block/block-backend.c 4 additions, 1 deletionblock/block-backend.c
- block/io.c 5 additions, 1 deletionblock/io.c
- block/qapi.c 14 additions, 10 deletionsblock/qapi.c
- include/block/block.h 0 additions, 2 deletionsinclude/block/block.h
- include/block/block_int.h 0 additions, 3 deletionsinclude/block/block_int.h
Loading
Please register or sign in to comment