> qcow2_check_convert_hdr() ignores the autoclear features stored in the > image, and qcow2_parse_bitmap_ext() sets the bitmaps bit whenever no > bitmap has the auto flag. If the bit was already clear on disk, a > writable open sets it again and marks the bitmaps extension consistent. > The qcow2 spec requires to treat such an extension as inconsistent, > since a program without bitmap support might have modified the image. > > Keep the bitmaps bit only if it is set in the image. > > https://virtuozzo.atlassian.net/browse/VSTOR-138887 > Feature: dm-qcow2: block device over QCOW2 files driver > > Fixes: f913aa3f7a1d4 ("dm-qcow2: parse bitmap extension") > Signed-off-by: Alexander Ivanov <[email protected]>
Sashiko has reviewed this patch and found no issues. It looks great! -- Sashiko AI review ยท https://sashiko.vzint.dev/#/patchset/[email protected]?part=3 _______________________________________________ Devel mailing list [email protected] https://lists.openvz.org/mailman/listinfo/devel
