Re: [Qemu-devel] [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 >>> Bloc

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

2015-06-05 Thread Alberto Garcia
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. > > Again, Berto may want to eventually repo

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

2015-06-03 Thread Eric Blake
On 06/03/2015 01:43 PM, Max Reitz 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. Again, Berto may want to eventually report stats for both BDS an