Re: [Qemu-block] [PATCH v2 2/8] block: Add blk_next_inserted()

2015-11-11 Thread Alberto Garcia
On Tue 10 Nov 2015 04:27:43 AM CET, Max Reitz wrote: > This function skips to the next BlockBackend for which blk_is_inserted() > is true. > > Signed-off-by: Max Reitz > Reviewed-by: Eric Blake Reviewed-by: Alberto Garcia Berto

[Qemu-block] [PATCH v2 2/8] block: Add blk_next_inserted()

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