[Top][All Lists]

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

Re: [Qemu-devel] [PATCH] Add qcow2 documentation

From: Kevin Wolf
Subject: Re: [Qemu-devel] [PATCH] Add qcow2 documentation
Date: Tue, 08 Mar 2011 14:31:58 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20101027 Fedora/3.0.10-1.fc12 Thunderbird/3.0.10

Am 08.03.2011 14:13, schrieb Stefan Hajnoczi:
> On Tue, Mar 8, 2011 at 11:47 AM, Kevin Wolf <address@hidden> wrote:
>> +         20 - 23:   cluster_bits
>> +                    Number of bits that are used for addressing an offset
>> +                    within a cluster (1 << cluster_bits is the cluster size)
>> +
>> +         24 - 31:   size
>> +                    Virtual disk size in bytes
> Any constraints on these two fields that should be mentioned?

For the size not that I'm aware of.

For cluster_bits qemu restricts it to 512 <= cluster_size <= 2 MB. I
think we should add 512 as a lower limit, anything smaller doesn't make
sense and steals us bits that we want to use for flags.

The 2 MB are more of an implementation limitation. Would you mention it
here? The format shouldn't have any problem with larger sizes.


reply via email to

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