[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 06/19] qcow2: Ignore reserved bits in L1/L2 entr
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] [PATCH 06/19] qcow2: Ignore reserved bits in L1/L2 entries |
Date: |
Mon, 16 Apr 2012 09:49:34 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1 |
Am 13.04.2012 14:33, schrieb Stefan Hajnoczi:
> On Thu, Apr 12, 2012 at 4:01 PM, Kevin Wolf <address@hidden> wrote:
>> This changes the still existing places that assume that the only flags
>> are QCOW_OFLAG_COPIED and QCOW_OFLAG_COMPRESSED to properly mask out
>> reserved bits.
>>
>> It does not convert bdrv_check yet.
>>
>> Signed-off-by: Kevin Wolf <address@hidden>
>> ---
>> block/qcow2-cluster.c | 26 +++++++++++++-------------
>> block/qcow2-refcount.c | 12 ++++++------
>> 2 files changed, 19 insertions(+), 19 deletions(-)
>
> It would be interesting to run a test case where we artifically set a
> reserved bit to gain confidence that no important codepath has been
> missed. Thoughts?
Patches gladly accepted. ;-)
I agree that we want to add such test cases to qemu-iotests.
Functionality that sets reserved bits would fit well into qcow2.py. I
just didn't get to it yet.
Kevin
- [Qemu-devel] [PATCH 05/19] qcow2: Fail write_compressed when overwriting data, (continued)
- [Qemu-devel] [PATCH 05/19] qcow2: Fail write_compressed when overwriting data, Kevin Wolf, 2012/04/12
- [Qemu-devel] [PATCH 04/19] qcow2: Ignore reserved bits in count_contiguous_clusters(), Kevin Wolf, 2012/04/12
- [Qemu-devel] [PATCH 03/19] qcow2: Ignore reserved bits in get_cluster_offset, Kevin Wolf, 2012/04/12
- [Qemu-devel] [PATCH 02/19] qcow2: Save disk size in snapshot header, Kevin Wolf, 2012/04/12
- [Qemu-devel] [PATCH 09/19] qcow2: Ignore reserved bits in refcount table entries, Kevin Wolf, 2012/04/12
- [Qemu-devel] [PATCH 07/19] qcow2: Refactor qcow2_free_any_clusters, Kevin Wolf, 2012/04/12
- [Qemu-devel] [PATCH 10/19] qcow2: Ignore reserved bits in check_refcounts, Kevin Wolf, 2012/04/12
- [Qemu-devel] [PATCH 18/19] [RFC] Possible qcow2 specification extensions, Kevin Wolf, 2012/04/12
- [Qemu-devel] [PATCH 06/19] qcow2: Ignore reserved bits in L1/L2 entries, Kevin Wolf, 2012/04/12
- [Qemu-devel] [PATCH 11/19] qcow2: Version 3 images, Kevin Wolf, 2012/04/12
- [Qemu-devel] [PATCH 08/19] qcow2: Simplify count_cow_clusters, Kevin Wolf, 2012/04/12
- [Qemu-devel] [PATCH 12/19] qcow2: Support reading zero clusters, Kevin Wolf, 2012/04/12
- [Qemu-devel] [PATCH 14/19] qemu-iotests: add a simple test for write_zeroes, Kevin Wolf, 2012/04/12
- [Qemu-devel] [PATCH 15/19] qemu-iotests: Test backing file COW with zero clusters, Kevin Wolf, 2012/04/12
- [Qemu-devel] [PATCH 17/19] qemu-iotests: Add -o and make v3 the default for qcow2, Kevin Wolf, 2012/04/12
- [Qemu-devel] [PATCH 13/19] qcow2: Support for feature table header extension, Kevin Wolf, 2012/04/12
- [Qemu-devel] [PATCH 17.5/19] qemu-iotests: Fix test 031 for qcow2 v3 support, Kevin Wolf, 2012/04/12
- [Qemu-devel] [PATCH 16/19] qcow2: Zero write support, Kevin Wolf, 2012/04/12
- [Qemu-devel] [PATCH 19/19] [RFC] Add feature table entries for new flags, Kevin Wolf, 2012/04/12