Re: [Qemu-devel] [PATCH v3 1/3] qcow2: Document some maximum size constraints

2018-11-15 Thread Eric Blake
On 11/15/18 9:17 AM, Alberto Garcia wrote: On Wed 14 Nov 2018 12:03:17 AM CET, Eric Blake wrote: @@ -427,7 +451,9 @@ Standard Cluster Descriptor: Compressed Clusters Descriptor (x = 62 - (cluster_bits - 8)): Bit 0 - x-1: Host cluster offset. This is usually _not_ aligned to a -

Re: [Qemu-devel] [PATCH v3 1/3] qcow2: Document some maximum size constraints

2018-11-15 Thread Alberto Garcia
On Wed 14 Nov 2018 12:03:17 AM CET, Eric Blake wrote: > @@ -427,7 +451,9 @@ Standard Cluster Descriptor: > Compressed Clusters Descriptor (x = 62 - (cluster_bits - 8)): > > Bit 0 - x-1: Host cluster offset. This is usually _not_ aligned to a > -cluster or sector

[Qemu-devel] [PATCH v3 1/3] qcow2: Document some maximum size constraints

2018-11-13 Thread Eric Blake
Although off_t permits up to 63 bits (8EB) of file offsets, in practice, we're going to hit other limits first. Document some of those limits in the qcow2 spec, and how choice of cluster size can influence some of the limits. While we cannot map any virtual cluster to any address higher than 64