On 22.03.2016 20:36, Kevin Wolf wrote:
> We just want to know whether a BDS has at least one BB attached in order
> to avoid enumerating it twice. This doesn't depend on the exact BB that
> is attached and is still a valid question when more than one BB can be
> attached, so just answer it by checking the parents list.
> 
> Signed-off-by: Kevin Wolf <kw...@redhat.com>
> ---
>  block.c                        |  4 ++--
>  block/block-backend.c          | 17 +++++++++++++++++
>  include/sysemu/block-backend.h |  1 +
>  3 files changed, 20 insertions(+), 2 deletions(-)

Reviewed-by: Max Reitz <mre...@redhat.com>

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to