[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 5/9] block: Avoid BDS.blk in bdrv_next()
From: |
Max Reitz |
Subject: |
Re: [Qemu-devel] [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>
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] [PATCH 0/9] block: Remove BlockDriverState.blk, Kevin Wolf, 2016/03/22
- [Qemu-devel] [PATCH 2/9] block: User BdrvChild callback for device name, Kevin Wolf, 2016/03/22
- [Qemu-devel] [PATCH 1/9] block: Use BdrvChild callbacks for change_media/resize, Kevin Wolf, 2016/03/22
- [Qemu-devel] [PATCH 5/9] block: Avoid BDS.blk in bdrv_next(), Kevin Wolf, 2016/03/22
- Re: [Qemu-devel] [PATCH 5/9] block: Avoid BDS.blk in bdrv_next(),
Max Reitz <=
- [Qemu-devel] [PATCH 6/9] block: Remove bdrv_move_feature_fields(), Kevin Wolf, 2016/03/22
- [Qemu-devel] [PATCH 3/9] block jobs: Use BdrvChild callbacks for iostatus operations, Kevin Wolf, 2016/03/22
- [Qemu-devel] [PATCH 8/9] block: Don't return throttling info in query-named-block-nodes, Kevin Wolf, 2016/03/22
- [Qemu-devel] [PATCH 7/9] block: Avoid bs->blk in bdrv_next(), Kevin Wolf, 2016/03/22
- [Qemu-devel] [PATCH 4/9] block: Remove bdrv_aio_multiwrite(), Kevin Wolf, 2016/03/22