[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 01/12] qcow2: Add new overlap check functions
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH v3 01/12] qcow2: Add new overlap check functions |
Date: |
Tue, 10 Feb 2015 06:21:43 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
On 02/09/2015 12:25 PM, Max Reitz wrote:
> The existing qcow2 metadata overlap detection function used existing
> structures to determine the location of the image metadata, from plain
> fields such as l1_table_offset and l1_size in the BDRVQcowState, over
> image structures in memory such as the L1 table for the L2 tables'
> positions, or it even read the required data directly from disk for
> every requested check, such as the snapshot L1 tables for the inactive
> L2 tables' positions.
>
...
>
> Signed-off-by: Max Reitz <address@hidden>
> ---
> block/Makefile.objs | 3 +-
> block/qcow2-overlap.c | 400
> ++++++++++++++++++++++++++++++++++++++++++++++++++
> block/qcow2.h | 13 ++
> 3 files changed, 415 insertions(+), 1 deletion(-)
> create mode 100644 block/qcow2-overlap.c
>
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-devel] [PATCH v3 00/12] qcow2: Add new overlap check functions, Max Reitz, 2015/02/09
- [Qemu-devel] [PATCH v3 02/12] qcow2: Pull up overlap check option evaluation, Max Reitz, 2015/02/09
- [Qemu-devel] [PATCH v3 05/12] qcow2/overlaps: Protect refcount table, Max Reitz, 2015/02/09
- [Qemu-devel] [PATCH v3 06/12] qcow2/overlaps: Protect refcount blocks, Max Reitz, 2015/02/09
- [Qemu-devel] [PATCH v3 07/12] qcow2/overlaps: Protect active L1 table, Max Reitz, 2015/02/09
- [Qemu-devel] [PATCH v3 01/12] qcow2: Add new overlap check functions, Max Reitz, 2015/02/09
- Re: [Qemu-devel] [PATCH v3 01/12] qcow2: Add new overlap check functions,
Eric Blake <=
- [Qemu-devel] [PATCH v3 03/12] qcow2: Create metadata list, Max Reitz, 2015/02/09
- [Qemu-devel] [PATCH v3 08/12] qcow2/overlaps: Protect active L2 tables, Max Reitz, 2015/02/09
- [Qemu-devel] [PATCH v3 04/12] qcow2/overlaps: Protect image header, Max Reitz, 2015/02/09
- [Qemu-devel] [PATCH v3 12/12] qcow2: Use new metadata overlap check function, Max Reitz, 2015/02/09
- [Qemu-devel] [PATCH v3 09/12] qcow2/overlaps: Protect snapshot table, Max Reitz, 2015/02/09
- [Qemu-devel] [PATCH v3 10/12] qcow2/overlaps: Protect inactive L1 tables, Max Reitz, 2015/02/09
- [Qemu-devel] [PATCH v3 11/12] qcow2/overlaps: Protect inactive L2 tables, Max Reitz, 2015/02/09