Re: [libvirt PATCH 2/2] storage_file: add support to probe cluster_size from QCOW2 images

2021-05-19 Thread Pavel Hrdina
On Wed, May 19, 2021 at 02:57:18PM +0200, Peter Krempa wrote: > On Thu, May 13, 2021 at 13:23:05 +0200, Pavel Hrdina wrote: > > >From QEMU docs/interop/qcow2.txt : > > > >Byte 20 - 23: cluster_bits > > Number of bits that are used for addressing an offset > >

Re: [libvirt PATCH 2/2] storage_file: add support to probe cluster_size from QCOW2 images

2021-05-19 Thread Peter Krempa
On Thu, May 13, 2021 at 13:23:05 +0200, Pavel Hrdina wrote: > >From QEMU docs/interop/qcow2.txt : > >Byte 20 - 23: cluster_bits > Number of bits that are used for addressing an offset > within a cluster (1 << cluster_bits is the cluster size). > > Wi

[libvirt PATCH 2/2] storage_file: add support to probe cluster_size from QCOW2 images

2021-05-13 Thread Pavel Hrdina
>From QEMU docs/interop/qcow2.txt : Byte 20 - 23: cluster_bits Number of bits that are used for addressing an offset within a cluster (1 << cluster_bits is the cluster size). With this patch libvirt will be able to report the current cluster_size for