Re: [Qemu-devel] [PATCH 09/21] block: Add blk_name_taken()

2015-01-29 Thread Eric Blake
On 01/26/2015 12:27 PM, Max Reitz wrote: > There may be BlockBackends which are not returned by blk_by_name(), but > do exist and have a name. blk_name_taken() allows testing whether a > specific name is in use already, independent of whether the BlockBackend > with that name is accessible through

[Qemu-devel] [PATCH 09/21] block: Add blk_name_taken()

2015-01-26 Thread Max Reitz
There may be BlockBackends which are not returned by blk_by_name(), but do exist and have a name. blk_name_taken() allows testing whether a specific name is in use already, independent of whether the BlockBackend with that name is accessible through blk_by_name(). Signed-off-by: Max Reitz --- bl