block: Extract the BlockAcctStats structure
authorBenoît Canet <benoit.canet@nodalink.com>
Fri, 5 Sep 2014 13:46:15 +0000 (15:46 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 10 Sep 2014 08:41:29 +0000 (10:41 +0200)
commit0ddd0ad96abf55acad06324b26b69a24bde23ac5
treee1f834a9b89fb4802bc08a24b70e1e3a7c19332c
parent1a7044bb62ca490b8742ac17d40bb774b7a9048e
block: Extract the BlockAcctStats structure

Extract the block accounting statistics into a structure so the block device
models can hold them in the future.

CC: Kevin Wolf <kwolf@redhat.com>
CC: Stefan Hajnoczi <stefanha@redhat.com>
CC: Max Reitz <mreitz@redhat.com>
CC: Eric Blake <eblake@redhat.com>
Signed-off-by: Benoît Canet <benoit.canet@nodalink.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c
block/qapi.c
include/block/block.h
include/block/block_int.h