On Thu 01 Feb 2018 08:46:46 PM CET, Max Reitz wrote:
>> @@ -3261,8 +3261,9 @@ static int qcow2_truncate(BlockDriverState *bs,
>> int64_t offset,
>> guest_offset = old_length;
>> while (nb_new_data_clusters) {
>> int64_t guest_cluster = guest_offset >> s->cluster_bit
On 2018-01-26 15:59, Alberto Garcia wrote:
> The qcow2_truncate() code is mostly independent from whether
> we're using L2 slices or full L2 tables, but in full and
> falloc preallocation modes new L2 tables are allocated using
> qcow2_alloc_cluster_link_l2(). Therefore the code needs to be
> modi