qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v4 13/30] qcow2: Add QCow2SubclusterType and qcow2_get_subclu


From: Alberto Garcia
Subject: Re: [PATCH v4 13/30] qcow2: Add QCow2SubclusterType and qcow2_get_subcluster_type()
Date: Wed, 08 Apr 2020 19:46:11 +0200
User-agent: Notmuch/0.18.2 (http://notmuchmail.org) Emacs/24.4.1 (i586-pc-linux-gnu)

On Wed 08 Apr 2020 01:23:42 PM CEST, Max Reitz wrote:
>> +        switch (type) {
>> +        case QCOW2_CLUSTER_COMPRESSED:
>> +            return QCOW2_SUBCLUSTER_COMPRESSED;
>
> Why did you drop the check that l2_bitmap == 0 here?

We don't generally check that reserved bits are 0. It would for example
allow us to add a new compatible feature in the future using those bits.

Berto



reply via email to

[Prev in Thread] Current Thread [Next in Thread]