Re: [Qemu-devel] [PATCH 10/21] block: Add blk_next_inserted()

2015-01-29 Thread Eric Blake
On 01/26/2015 12:27 PM, Max Reitz wrote: > This function skips to the next BlockBackend for which blk_is_inserted() > is true. > > Signed-off-by: Max Reitz > --- > block/block-backend.c | 15 +++ > include/sysemu/block-backend.h | 1 + > 2 files changed, 16 insertions(+) >

[Qemu-devel] [PATCH 10/21] block: Add blk_next_inserted()

2015-01-26 Thread Max Reitz
This function skips to the next BlockBackend for which blk_is_inserted() is true. Signed-off-by: Max Reitz --- block/block-backend.c | 15 +++ include/sysemu/block-backend.h | 1 + 2 files changed, 16 insertions(+) diff --git a/block/block-backend.c b/block/block-backend.c