Commit 209b2afafa for qemu.org

commit 209b2afaface001c7d4d981e38f186afe7b24a50
Merge: e6b06ef38e 94336eedb1
Author: Richard Henderson <richard.henderson@linaro.org>
Date:   Thu Sep 10 22:02:18 2026 -1000

    Merge tag 'pull-parallels-2026-09-11' of https://gitlab.com/dlunev/qemu into staging

    parallels patches

    - harden the Format Extension parser against a crafted image
    - add persistent dirty bitmap support: store, remove and report them
    - let image extensions be updated in read-write mode
    - make qemu-img check report the damage it is meant to report
      instead of dying on it
    - drop the unused clusters at the end of the image
    - cover the new behaviour in the parallels iotests, and run more of
      the generic ones on parallels

    Signed-off-by: Denis V. Lunev <den@openvz.org>
    CC: Stefan Hajnoczi <stefanha@redhat.com>
    CC: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>

    # -----BEGIN PGP SIGNATURE-----
    #
    # iQJDBAABCgAtFiEEC66qh9MCCtwRUOUfXgdxtstmbKsFAmqjOVwPHGRlbkBvcGVu
    # dnoub3JnAAoJEF4HcbbLZmyrnBgP/RZFRu2ewdrsxAklLQviPH0Sm55Ezxo2nIRH
    # Dgni/PjuVscEqndnzDOrkMI3ZA95Cj5dcyJFCW/PAKe7lixA2vunUn+splHkxKfK
    # jvaTdGPmBYa5rfyQ+BvW4CPmValF6tFMIdjcv6E55COmmU64+aQlx+i9k0UD2mD4
    # eO5g7PJd8S2gEzCGSnX9/fqza+DN21mO/uBo7lSuVDbZWC/Y9AJUHYOSJKZpGgvt
    # WNjhHHfYhwMIyeYNj3L9i8yg/uX0jxrh01nFnhl6w+nECaFbBBOPy5UCg3AE/LIP
    # 0pkQItT0sV2YCqZ1ejhVoutVAuUaE3oFIkdjXRoWg6Pfg45astVz32RNGcZzysS7
    # W19torTyWN9pZA/HrNrqrBJYzlOTZggDVPULcFK8+FTnou9IHnMrEmJ2Dmr4LLNY
    # PCZyAURVrpX/yfEKmkDCLH5DxX+0AQTglEhwmV3LHrhC69O1yHUwZjh6HtKVMpvR
    # flKx2ZwRVDAfAh/9Oqze8/gVPqSADnlS6l6P7NBowA86qpV0Ia8EGMCwYS3/Qpof
    # FSX1wejp80rJ2SGHFBr6ej3ozGsuWDFlZ5EpcjQhoQC65YQdnz+YQCQnKQGFDzGl
    # 2fz8rZcCUUb8A0TG4HYoD8uTZ3t7J9HcUfZp9RFjIzvhMJv/2iYCnVUHDmPiEtlj
    # Fsh1k4K0
    # =7LkT
    # -----END PGP SIGNATURE-----
    # gpg: Signature made Thu 10 Sep 2026 01:12:28 PM HST
    # gpg:                using RSA key 0BAEAA87D3020ADC1150E51F5E0771B6CB666CAB
    # gpg:                issuer "den@openvz.org"
    # gpg: Good signature from "Denis V. Lunev <den@openvz.org>" [unknown]
    # gpg: WARNING: The key's User ID is not certified with a trusted signature!
    # gpg:          There is no indication that the signature belongs to the owner.
    # Primary key fingerprint: 0BAE AA87 D302 0ADC 1150  E51F 5E07 71B6 CB66 6CAB

    * tag 'pull-parallels-2026-09-11' of https://gitlab.com/dlunev/qemu: (29 commits)
      tests: Add parallels format support to image-fleecing
      tests: Turned on 256, 299, 304 and block-status-cache for parallels format
      iotests: cover a broken Format Extension and a combined repair
      iotests: rename parallels-read-bitmap to parallels-bitmap
      parallels: implement removing a stored dirty bitmap
      parallels: do not trust the bitmaps of an image which was not closed
      parallels: reject a bitmap L1 entry outside the data area
      iotests: run the persistent dirty bitmap test on parallels
      iotests: cover the Format Extension against the leak check
      parallels: Handle L1 entries equal to one
      parallels: Let image extensions work in RW mode
      parallels: Add dirty bitmaps saving
      parallels: Remove unnecessary data_end field
      parallels: Drop unused clusters at the end of the image
      parallels: Create used bitmap even if checks needed
      parallels: do not let the check die on what it is meant to report
      parallels: Move host clusters allocation to a separate function
      parallels: Limit search in parallels_mark_used to the last marked cluster
      parallels: Make mark_used() a global function
      iotests: cover inactivating a read-only node
      ...

    Signed-off-by: Richard Henderson <richard.henderson@linaro.org>