[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 07/16] block: Convert bs->backing_hd to BdrvC
From: |
Max Reitz |
Subject: |
Re: [Qemu-devel] [PATCH v3 07/16] block: Convert bs->backing_hd to BdrvChild |
Date: |
Mon, 12 Oct 2015 18:55:52 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
On 09.10.2015 14:15, Kevin Wolf wrote:
> This is the final step in converting all of the BlockDriverState
> pointers that block drivers use to BdrvChild.
>
> After this patch, bs->children contains the full list of child nodes
> that are referenced by a given BDS, and these children are only
> referenced through BdrvChild, so that updating the pointer in there is
> enough for changing edges in the graph.
>
> Signed-off-by: Kevin Wolf <address@hidden>
> ---
> block.c | 105
> +++++++++++++++++++++++-----------------------
> block/io.c | 24 +++++------
> block/mirror.c | 6 +--
> block/qapi.c | 8 ++--
> block/qcow.c | 4 +-
> block/qcow2-cluster.c | 4 +-
> block/qcow2.c | 6 +--
> block/qed.c | 12 +++---
> block/stream.c | 8 ++--
> block/vmdk.c | 21 +++++-----
> block/vvfat.c | 6 +--
> blockdev.c | 4 +-
> include/block/block_int.h | 12 ++++--
> qemu-img.c | 4 +-
> 14 files changed, 115 insertions(+), 109 deletions(-)
Reviewed-by: Max Reitz <address@hidden>
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] [PATCH v3 10/16] block/io: Make bdrv_requests_pending() public, (continued)
- [Qemu-devel] [PATCH v3 10/16] block/io: Make bdrv_requests_pending() public, Kevin Wolf, 2015/10/09
- [Qemu-devel] [PATCH v3 08/16] block: Manage backing file references in bdrv_set_backing_hd(), Kevin Wolf, 2015/10/09
- [Qemu-devel] [PATCH v3 02/16] vmdk: Use BdrvChild instead of BDS for references to extents, Kevin Wolf, 2015/10/10
- [Qemu-devel] [PATCH v3 07/16] block: Convert bs->backing_hd to BdrvChild, Kevin Wolf, 2015/10/10
- [Qemu-devel] [PATCH v3 11/16] block-backend: Add blk_set_bs(), Kevin Wolf, 2015/10/10
- [Qemu-devel] [PATCH v3 14/16] blockjob: Store device name at job creation, Kevin Wolf, 2015/10/10
- [Qemu-devel] [PATCH v3 16/16] block: Remove bdrv_swap(), Kevin Wolf, 2015/10/10
- [Qemu-devel] [PATCH v3 15/16] block: Add and use bdrv_replace_in_backing_chain(), Kevin Wolf, 2015/10/10
- Re: [Qemu-devel] [PATCH v3 00/16] block: Get rid of bdrv_swap(), Stefan Hajnoczi, 2015/10/15
- Re: [Qemu-devel] [PATCH v3 00/16] block: Get rid of bdrv_swap(), Kevin Wolf, 2015/10/15