[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH v4 03/25] block: Add BDS.backing_overridden
From: |
Eric Blake |
Subject: |
Re: [Qemu-block] [PATCH v4 03/25] block: Add BDS.backing_overridden |
Date: |
Wed, 11 Jan 2017 13:50:09 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 |
On 01/11/2017 12:14 PM, Max Reitz wrote:
> If the backing file is overridden, this most probably does change the
> guest-visible data of a BDS. Therefore, we will need to consider this in
> bdrv_refresh_filename().
>
> Adding a new field to the BDS is not nice, but it is very simple and
> exactly keeps track of whether the backing file has been overridden.
>
> This commit adds a FIXME which will be remedied by a follow-up commit.
> Until then, the respective piece of code will not result in any behavior
> that is worse than what we currently have.
>
> Signed-off-by: Max Reitz <address@hidden>
> ---
> include/block/block_int.h | 1 +
> block.c | 13 +++++++++++++
> block/mirror.c | 4 ++++
> blockdev.c | 16 ++++++++++++++++
> 4 files changed, 34 insertions(+)
Looks like our mails crossed; I gave R-b on v3 before seeing this was
posted, and don't see any changes. To aid any automated tools:
Reviewed-by: Eric Blake <address@hidden>
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- [Qemu-block] [PATCH v4 00/25] block: Fix some filename generation issues, Max Reitz, 2017/01/11
- [Qemu-block] [PATCH v4 01/25] block/mirror: Small absolute-paths simplification, Max Reitz, 2017/01/11
- [Qemu-block] [PATCH v4 02/25] block: Use children list in bdrv_refresh_filename, Max Reitz, 2017/01/11
- [Qemu-block] [PATCH v4 03/25] block: Add BDS.backing_overridden, Max Reitz, 2017/01/11
- Re: [Qemu-block] [PATCH v4 03/25] block: Add BDS.backing_overridden,
Eric Blake <=
- [Qemu-block] [PATCH v4 04/25] block: Respect backing bs in bdrv_refresh_filename, Max Reitz, 2017/01/11
- [Qemu-block] [PATCH v4 05/25] block: Make path_combine() return the path, Max Reitz, 2017/01/16
- [Qemu-block] [PATCH v4 06/25] block: bdrv_get_full_backing_filename_from_...'s ret. val., Max Reitz, 2017/01/16
- [Qemu-block] [PATCH v4 07/25] block: bdrv_get_full_backing_filename's ret. val., Max Reitz, 2017/01/16
- [Qemu-block] [PATCH v4 08/25] block: Add bdrv_make_absolute_filename(), Max Reitz, 2017/01/16
- [Qemu-block] [PATCH v4 09/25] block: Fix bdrv_find_backing_image(), Max Reitz, 2017/01/16