]> git.proxmox.com Git - pve-qemu.git/commit
update submodule and patches to 7.2.0
authorFiona Ebner <f.ebner@proxmox.com>
Wed, 14 Dec 2022 14:16:32 +0000 (15:16 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Fri, 16 Dec 2022 10:47:20 +0000 (11:47 +0100)
commitd03e1b3ce36f8418e82e605d475eab81c1fd407b
treededf0c91ff1aad2a7c45b7263e2102f000b36a45
parent55e33a045eb2e44fc143557f67120a4ea0559e55
update submodule and patches to 7.2.0

User-facing breaking change:

The slirp submodule for user networking got removed. It would be
necessary to add the --enable-slirp option to the build and/or install
the appropriate library to continue building it. Since PVE is not
explicitly supporting it, it would require additionally installing the
libslirp0 package on all installations and there is *very* little
mention on the community forum when searching for "slirp" or
"netdev user", the plan is to only enable it again if there is some
real demand for it.

Notable changes:

* The big change for this release is the rework of job locking, using
  a job mutex and introducing _locked() variants of job API functions
  moving away from call-side AioContext locking. See (in the qemu
  submodule) commit 6f592e5aca ("job.c: enable job lock/unlock and
  remove Aiocontext locks") and previous commits for context.

  Changes required for the backup patches:
  * Use WITH_JOB_LOCK_GUARD() and call the _locked() variant of job
    API functions where appropriate (many are only availalbe as
    a _locked() variant).
  * Remove acquiring/releasing AioContext around functions taking the
    job mutex lock internally.

  The patch introducing sequential transaction support for jobs needs
  to temporarily unlock the job mutex to call job_start() when
  starting the next job in the transaction.

* The zeroinit block driver now marks its child as primary.

  The documentation in include/block/block-common.h states:
  > Filter node has exactly one FILTERED|PRIMARY child, and may have
  > other children which must not have these bits

  Without this, an assert will trigger when copying to a zeroinit target
  with qemu-img convert, because bdrv_child_cb_attach() expects any
  non-PRIMARY child to be not FILTERED:
  > qemu-img convert -n -p -f raw -O raw input.raw zeroinit:output.raw
  > qemu-img: ../block.c:1476: bdrv_child_cb_attach: Assertion
  > `!(child->role & BDRV_CHILD_FILTERED)' failed.

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
63 files changed:
debian/patches/bitmap-mirror/0001-drive-mirror-add-support-for-sync-bitmap-mode-never.patch
debian/patches/bitmap-mirror/0002-drive-mirror-add-support-for-conditional-and-always-.patch
debian/patches/bitmap-mirror/0003-mirror-add-check-for-bitmap-mode-without-bitmap.patch
debian/patches/bitmap-mirror/0004-mirror-switch-to-bdrv_dirty_bitmap_merge_internal.patch
debian/patches/bitmap-mirror/0006-mirror-move-some-checks-to-qmp.patch
debian/patches/extra/0001-monitor-qmp-fix-race-with-clients-disconnecting-earl.patch
debian/patches/extra/0002-block-io_uring-revert-Use-io_uring_register_ring_fd-.patch [deleted file]
debian/patches/extra/0002-init-daemonize-defuse-PID-file-resolve-error.patch [new file with mode: 0644]
debian/patches/extra/0003-virtiofsd-use-g_date_time_get_microsecond-to-get-sub.patch [deleted file]
debian/patches/extra/0004-chardev-fix-segfault-in-finalize.patch [deleted file]
debian/patches/extra/0005-init-daemonize-defuse-PID-file-resolve-error.patch [deleted file]
debian/patches/extra/0006-block-block-backend-blk_set_enable_write_cache-is-IO.patch [deleted file]
debian/patches/pve/0001-PVE-Config-block-file-change-locking-default-to-off.patch
debian/patches/pve/0002-PVE-Config-Adjust-network-script-path-to-etc-kvm.patch
debian/patches/pve/0003-PVE-Config-set-the-CPU-model-to-kvm64-32-instead-of-.patch
debian/patches/pve/0005-PVE-Config-glusterfs-no-default-logfile-if-daemonize.patch
debian/patches/pve/0007-PVE-Up-qmp-add-get_link_status.patch
debian/patches/pve/0008-PVE-Up-glusterfs-allow-partial-reads.patch
debian/patches/pve/0009-PVE-Up-qemu-img-return-success-on-info-without-snaps.patch
debian/patches/pve/0010-PVE-Up-qemu-img-dd-add-osize-and-read-from-to-stdin-.patch
debian/patches/pve/0011-PVE-Up-qemu-img-dd-add-isize-parameter.patch
debian/patches/pve/0012-PVE-Up-qemu-img-dd-add-n-skip_create.patch
debian/patches/pve/0013-PVE-virtio-balloon-improve-query-balloon.patch
debian/patches/pve/0014-PVE-qapi-modify-query-machines.patch
debian/patches/pve/0015-PVE-qapi-modify-spice-query.patch
debian/patches/pve/0017-PVE-add-savevm-async-for-background-state-snapshots.patch
debian/patches/pve/0018-PVE-add-optional-buffer-size-to-QEMUFile.patch
debian/patches/pve/0019-PVE-block-add-the-zeroinit-block-driver-filter.patch
debian/patches/pve/0020-PVE-Add-dummy-id-command-line-parameter.patch
debian/patches/pve/0022-PVE-Up-Config-file-posix-make-locking-optiono-on-cre.patch
debian/patches/pve/0024-PVE-Compat-4.0-used-balloon-qemu-4-0-config-size-fal.patch
debian/patches/pve/0025-PVE-Allow-version-code-in-machine-type.patch
debian/patches/pve/0026-block-backup-move-bcs-bitmap-initialization-to-job-c.patch
debian/patches/pve/0027-PVE-Backup-add-vma-backup-format-code.patch
debian/patches/pve/0028-PVE-Backup-add-backup-dump-block-driver.patch
debian/patches/pve/0029-PVE-Backup-proxmox-backup-patches-for-qemu.patch
debian/patches/pve/0030-PVE-Backup-pbs-restore-new-command-to-restore-from-p.patch
debian/patches/pve/0031-PVE-Backup-Add-dirty-bitmap-tracking-for-incremental.patch
debian/patches/pve/0032-PVE-various-PBS-fixes.patch
debian/patches/pve/0033-PVE-Add-PBS-block-driver-to-map-backup-archives-into.patch
debian/patches/pve/0034-PVE-add-query_proxmox_support-QMP-command.patch
debian/patches/pve/0035-PVE-add-query-pbs-bitmap-info-QMP-call.patch
debian/patches/pve/0036-PVE-redirect-stderr-to-journal-when-daemonized.patch
debian/patches/pve/0037-PVE-Add-sequential-job-transaction-support.patch
debian/patches/pve/0038-PVE-Backup-Use-a-transaction-to-synchronize-job-stat.patch
debian/patches/pve/0039-PVE-Backup-Don-t-block-on-finishing-and-cleanup-crea.patch
debian/patches/pve/0040-PVE-Migrate-dirty-bitmap-state-via-savevm.patch
debian/patches/pve/0042-PVE-fall-back-to-open-iscsi-initiatorname.patch
debian/patches/pve/0043-PVE-Use-coroutine-QMP-for-backup-cancel_backup.patch
debian/patches/pve/0044-PBS-add-master-key-support.patch
debian/patches/pve/0045-PVE-block-pbs-fast-path-reads-without-allocation-if-.patch
debian/patches/pve/0047-block-io-accept-NULL-qiov-in-bdrv_pad_request.patch
debian/patches/pve/0048-block-add-alloc-track-driver.patch
debian/patches/pve/0050-PVE-savevm-async-register-yank-before-migration_inco.patch
debian/patches/pve/0051-qemu-img-dd-add-l-option-for-loading-a-snapshot.patch
debian/patches/pve/0053-pbs-namespace-support.patch
debian/patches/pve/0057-PVE-Backup-create-jobs-correctly-cancel-in-error-sce.patch
debian/patches/pve/0058-PVE-Backup-ensure-jobs-in-di_list-are-referenced.patch
debian/patches/pve/0059-PVE-Backup-avoid-segfault-issues-upon-backup-cancel.patch
debian/patches/pve/0062-block-alloc-track-avoid-premature-break.patch
debian/patches/pve/0063-PVE-Backup-allow-passing-max-workers-performance-set.patch
debian/patches/series
qemu