[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH v3 08/16] block: Manage backing file references
From: |
Max Reitz |
Subject: |
Re: [Qemu-block] [PATCH v3 08/16] block: Manage backing file references in bdrv_set_backing_hd() |
Date: |
Mon, 12 Oct 2015 19:13:37 +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 simplifies the code somewhat, especially when dropping whole
> backing file subchains.
>
> The exception is the mirroring code that does adventurous things with
> bdrv_swap() and in order to keep it working, I had to duplicate most of
> bdrv_set_backing_hd() locally. We'll get rid again of this ugliness
> shortly.
>
> Signed-off-by: Kevin Wolf <address@hidden>
> ---
> block.c | 68
> ++++++++++++++-------------------------------------
> block/mirror.c | 16 +++++++++---
> block/stream.c | 30 +----------------------
> block/vvfat.c | 6 ++++-
> include/block/block.h | 1 +
> 5 files changed, 37 insertions(+), 84 deletions(-)
Reviewed-by: Max Reitz <address@hidden>
signature.asc
Description: OpenPGP digital signature
- Re: [Qemu-block] [PATCH v3 07/16] block: Convert bs->backing_hd to BdrvChild, (continued)
- [Qemu-block] [PATCH v3 12/16] block: Introduce parents list, Kevin Wolf, 2015/10/09
- [Qemu-block] [PATCH v3 15/16] block: Add and use bdrv_replace_in_backing_chain(), Kevin Wolf, 2015/10/09
- [Qemu-block] [PATCH v3 16/16] block: Remove bdrv_swap(), Kevin Wolf, 2015/10/09
- [Qemu-block] [PATCH v3 03/16] blkverify: Convert s->test_file to BdrvChild, Kevin Wolf, 2015/10/10
- [Qemu-block] [PATCH v3 08/16] block: Manage backing file references in bdrv_set_backing_hd(), Kevin Wolf, 2015/10/10
- Re: [Qemu-block] [PATCH v3 00/16] block: Get rid of bdrv_swap(), Stefan Hajnoczi, 2015/10/13
- Re: [Qemu-block] [PATCH v3 00/16] block: Get rid of bdrv_swap(), Kevin Wolf, 2015/10/15