qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-block] [PATCH 5/9] block: Avoid BDS.blk in bdrv_next()


From: Max Reitz
Subject: Re: [Qemu-block] [PATCH 5/9] block: Avoid BDS.blk in bdrv_next()
Date: Tue, 29 Mar 2016 20:26:18 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0

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 <address@hidden>
> ---
>  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 <address@hidden>

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]