Re: [Qemu-devel] [PATCH v5 09/13] block: Add list of all BlockDriverStates

2015-03-19 Thread Eric Blake
On 03/03/2015 01:13 PM, Max Reitz wrote: > Signed-off-by: Max Reitz > --- > block.c | 10 ++ > include/block/block_int.h | 2 ++ > 2 files changed, 12 insertions(+) > Might be nice to mention in the commit message why it is useful. But the code looked good enough for

[Qemu-devel] [PATCH v5 09/13] block: Add list of all BlockDriverStates

2015-03-03 Thread Max Reitz
Signed-off-by: Max Reitz --- block.c | 10 ++ include/block/block_int.h | 2 ++ 2 files changed, 12 insertions(+) diff --git a/block.c b/block.c index e84fa0c..9698b1d 100644 --- a/block.c +++ b/block.c @@ -94,6 +94,9 @@ static QTAILQ_HEAD(, BlockDriverState) bdrv_stat