Re: [RFC PATCH v2 11/26] qcow2: Add qcow2_get_subcluster_type()

2019-11-04 Thread Max Reitz
On 04.11.19 13:35, Max Reitz wrote: > On 26.10.19 23:25, Alberto Garcia wrote: >> This function returns the type of an individual subcluster. If an >> image does not have subclusters then this returns the exact same value >> as qcow2_get_cluster_type(). >> >> The information in standard and

Re: [RFC PATCH v2 11/26] qcow2: Add qcow2_get_subcluster_type()

2019-11-04 Thread Max Reitz
On 26.10.19 23:25, Alberto Garcia wrote: > This function returns the type of an individual subcluster. If an > image does not have subclusters then this returns the exact same value > as qcow2_get_cluster_type(). > > The information in standard and extended L2 entries is encoded in a > slightly

[RFC PATCH v2 11/26] qcow2: Add qcow2_get_subcluster_type()

2019-10-26 Thread Alberto Garcia
This function returns the type of an individual subcluster. If an image does not have subclusters then this returns the exact same value as qcow2_get_cluster_type(). The information in standard and extended L2 entries is encoded in a slightly different way, but all existing QCow2ClusterType