The following changes since commit 848a6caa88b9f082c89c9b41afa975761262981d:
Merge tag 'migration-20230602-pull-request' of https://gitlab.com/juan.quintela/qemu into staging (2023-06-02 17:33:29 -0700) are available in the Git repository at: https://gitlab.com/hreitz/qemu.git tags/pull-block-2023-06-05 for you to fetch changes up to 42a2890a76f4783cd1c212f27856edcf2b5e8a75: qcow2: add discard-no-unref option (2023-06-05 13:15:42 +0200) ---------------------------------------------------------------- Block patches - Fix padding of unaligned vectored requests to match the host alignment for vectors with 1023 or 1024 buffers - Refactor and fix bugs in parallels's image check functionality - Add an option to the qcow2 driver to retain (qcow2-level) allocations on discard requests from the guest (while still forwarding the discard to the lower level and marking the range as zero) ---------------------------------------------------------------- Alexander Ivanov (12): parallels: Out of image offset in BAT leads to image inflation parallels: Fix high_off calculation in parallels_co_check() parallels: Fix image_end_offset and data_end after out-of-image check parallels: create parallels_set_bat_entry_helper() to assign BAT value parallels: Use generic infrastructure for BAT writing in parallels_co_check() parallels: Move check of unclean image to a separate function parallels: Move check of cluster outside image to a separate function parallels: Fix statistics calculation parallels: Move check of leaks to a separate function parallels: Move statistic collection to a separate function parallels: Replace qemu_co_mutex_lock by WITH_QEMU_LOCK_GUARD parallels: Incorrect condition in out-of-image check Hanna Czenczek (4): util/iov: Make qiov_slice() public block: Collapse padded I/O vecs exceeding IOV_MAX util/iov: Remove qemu_iovec_init_extended() iotests/iov-padding: New test Jean-Louis Dupond (1): qcow2: add discard-no-unref option qapi/block-core.json | 12 ++ block/qcow2.h | 3 + include/qemu/iov.h | 8 +- block/io.c | 166 ++++++++++++++++++-- block/parallels.c | 190 ++++++++++++++++------- block/qcow2-cluster.c | 32 +++- block/qcow2.c | 18 +++ util/iov.c | 89 ++--------- qemu-options.hx | 12 ++ tests/qemu-iotests/tests/iov-padding | 85 ++++++++++ tests/qemu-iotests/tests/iov-padding.out | 59 +++++++ 11 files changed, 523 insertions(+), 151 deletions(-) create mode 100755 tests/qemu-iotests/tests/iov-padding create mode 100644 tests/qemu-iotests/tests/iov-padding.out -- 2.40.1