Re: [Qemu-block] [PATCH v3 14/38] block: Move BlockAcctStats into BlockBackend

2015-06-05 Thread Eric Blake
On 06/05/2015 04:47 AM, Alberto Garcia wrote: On Wed 03 Jun 2015 10:52:34 PM CEST, Eric Blake wrote: 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.

[Qemu-block] [PATCH v3 14/38] block: Move BlockAcctStats into BlockBackend

2015-06-03 Thread Max Reitz
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 mre...@redhat.com --- block.c | 11 ---