[pve-devel] [PATCH-SERIES qemu] update to QEMU 9.0.0

Fiona Ebner f.ebner at proxmox.com
Thu Apr 25 17:21:25 CEST 2024


QEMU 8.2.2 required many changes, in particular to the alloc-track
block driver. It should be the same as [0] just with backup fleecing
patches added in. See the patch for details.

The only bigger change in QEMU 9.0.0 is that the AioContext locking
was removed, and it just required dropping the calls to acquire and
release the lock. See the patch for details.

Did not see any outstanding important fixes on the qemu-stable mailing
list currently, so none picked up.

[0]: https://lists.proxmox.com/pipermail/pve-devel/2024-March/062422.html


Fiona Ebner (4):
  makefile: adapt firmware blob removal to changes for QEMU 8.2
  makefile: also filter 64-bit hppa ROM for QEMU 8.2
  update submodule and patches to QEMU 8.2.2
  update submodule and patches to QEMU 9.0.0

 Makefile                                      |   4 +-
 ...d-support-for-sync-bitmap-mode-never.patch |  88 ++++---
 ...-support-for-conditional-and-always-.patch |  14 +-
 ...check-for-bitmap-mode-without-bitmap.patch |   4 +-
 ...-to-bdrv_dirty_bitmap_merge_internal.patch |   8 +-
 .../0006-mirror-move-some-checks-to-qmp.patch |  14 +-
 ...race-with-clients-disconnecting-earl.patch |   6 +-
 ...as-Internal-cdbs-have-16-byte-length.patch |   2 +-
 ...ial-deadlock-when-draining-during-tr.patch |  10 +-
 ...orkaround-Windows-not-handling-name.patch} |   4 +-
 ...dirty-bitmap-fix-loading-bitmap-when.patch |  48 ----
 ...t-graph-lock-Disable-locking-for-now.patch | 140 ----------
 ...-workaround-snapshot-performance-reg.patch |  57 ----
 ...sgx_epc_get_section-stub-is-reachabl.patch |  34 ---
 ...k-type-as-not-available-when-there-i.patch |  86 -------
 ...ttach-event-vq-notifier-with-no_poll.patch |  65 -----
 ...-Re-enable-notifications-after-drain.patch | 125 ---------
 ...-increase-NOFILE-soft-limit-on-POSIX.patch | 119 ---------
 ...-using-ioeventfd-state-in-irqfd-cond.patch |  61 -----
 ...k-file-change-locking-default-to-off.patch |   2 +-
 ...djust-network-script-path-to-etc-kvm.patch |   4 +-
 ...he-CPU-model-to-kvm64-32-instead-of-.patch |   4 +-
 ...ui-spice-default-to-pve-certificates.patch |   4 +-
 ...erfs-no-default-logfile-if-daemonize.patch |   2 +-
 ...lock-rbd-disable-rbd_cache_writethro.patch |   2 +-
 ...PVE-Up-glusterfs-allow-partial-reads.patch |  10 +-
 ...return-success-on-info-without-snaps.patch |   4 +-
 ...dd-add-osize-and-read-from-to-stdin-.patch |  16 +-
 ...E-Up-qemu-img-dd-add-isize-parameter.patch |  14 +-
 ...PVE-Up-qemu-img-dd-add-n-skip_create.patch |  22 +-
 ...-add-l-option-for-loading-a-snapshot.patch |  22 +-
 ...virtio-balloon-improve-query-balloon.patch |  16 +-
 .../0014-PVE-qapi-modify-query-machines.patch |  10 +-
 .../0015-PVE-qapi-modify-spice-query.patch    |   6 +-
 ...nnel-implementation-for-savevm-async.patch |  13 +-
 ...async-for-background-state-snapshots.patch | 110 ++++----
 ...add-optional-buffer-size-to-QEMUFile.patch |  63 ++---
 ...add-the-zeroinit-block-driver-filter.patch |  71 +++--
 ...-Add-dummy-id-command-line-parameter.patch |  20 +-
 ...t-target-i386-disable-LINT0-after-re.patch |   4 +-
 ...le-posix-make-locking-optiono-on-cre.patch |  33 ++-
 ...sed-balloon-qemu-4-0-config-size-fal.patch |   4 +-
 ...E-Allow-version-code-in-machine-type.patch |  32 +--
 ...e-bcs-bitmap-initialization-to-job-c.patch |   6 +-
 ...VE-Backup-add-vma-backup-format-code.patch |  54 ++--
 ...-Backup-add-backup-dump-block-driver.patch |  14 +-
 ...d-sequential-job-transaction-support.patch |  14 +-
 ...ckup-Proxmox-backup-patches-for-QEMU.patch |  87 ++++---
 ...estore-new-command-to-restore-from-p.patch |   8 +-
 ...k-driver-to-map-backup-archives-into.patch | 111 ++++----
 ...ct-stderr-to-journal-when-daemonized.patch |  29 ++-
 ...igrate-dirty-bitmap-state-via-savevm.patch |  22 +-
 ...dirty-bitmap-migrate-other-bitmaps-e.patch |   2 +-
 ...all-back-to-open-iscsi-initiatorname.patch |   4 +-
 ...PVE-block-stream-increase-chunk-size.patch |   2 +-
 ...> 0038-block-add-alloc-track-driver.patch} | 243 +++++++++++-------
 ...accept-NULL-qiov-in-bdrv_pad_request.patch |  64 -----
 ...rbd-workaround-for-ceph-issue-53784.patch} |   8 +-
 ...fix-handling-of-holes-in-.bdrv_co_b.patch} |   4 +-
 ...-rbd-implement-bdrv_co_block_status.patch} |   6 +-
 ...rror-out-when-auto-remove-is-not-set.patch |  43 ++++
 ...d-seemingly-superfluous-child-permis.patch |  84 ++++++
 ...alloc-track-fix-deadlock-during-drop.patch | 154 -----------
 ...ck-copy-before-write-fix-permission.patch} |   4 +-
 ...apshots-hold-the-BQL-during-setup-ca.patch | 191 --------------
 ...-write-support-unligned-snapshot-di.patch} |   4 +-
 ...vm-async-don-t-hold-BQL-during-setup.patch |  30 ---
 ...-write-create-block_copy-bitmap-in-.patch} |  12 +-
 ...backup-add-discard-source-parameter.patch} |  52 ++--
 ...-allow-specifying-minimum-cluster-s.patch} |  24 +-
 ...m-cluster-size-to-performance-optio.patch} |  18 +-
 ...0050-PVE-backup-add-fleecing-option.patch} |  62 +++--
 debian/patches/series                         |  39 +--
 qemu                                          |   2 +-
 74 files changed, 910 insertions(+), 1864 deletions(-)
 rename debian/patches/extra/{0007-Revert-x86-acpi-workaround-Windows-not-handling-name.patch => 0004-Revert-x86-acpi-workaround-Windows-not-handling-name.patch} (95%)
 delete mode 100644 debian/patches/extra/0004-migration-block-dirty-bitmap-fix-loading-bitmap-when.patch
 delete mode 100644 debian/patches/extra/0005-Revert-Revert-graph-lock-Disable-locking-for-now.patch
 delete mode 100644 debian/patches/extra/0006-migration-states-workaround-snapshot-performance-reg.patch
 delete mode 100644 debian/patches/extra/0008-target-i386-the-sgx_epc_get_section-stub-is-reachabl.patch
 delete mode 100644 debian/patches/extra/0009-ui-clipboard-mark-type-as-not-available-when-there-i.patch
 delete mode 100644 debian/patches/extra/0010-virtio-scsi-Attach-event-vq-notifier-with-no_poll.patch
 delete mode 100644 debian/patches/extra/0011-virtio-Re-enable-notifications-after-drain.patch
 delete mode 100644 debian/patches/extra/0012-qemu_init-increase-NOFILE-soft-limit-on-POSIX.patch
 delete mode 100644 debian/patches/extra/0013-virtio-blk-avoid-using-ioeventfd-state-in-irqfd-cond.patch
 rename debian/patches/pve/{0039-block-add-alloc-track-driver.patch => 0038-block-add-alloc-track-driver.patch} (59%)
 delete mode 100644 debian/patches/pve/0038-block-io-accept-NULL-qiov-in-bdrv_pad_request.patch
 rename debian/patches/pve/{0040-Revert-block-rbd-workaround-for-ceph-issue-53784.patch => 0039-Revert-block-rbd-workaround-for-ceph-issue-53784.patch} (92%)
 rename debian/patches/pve/{0041-Revert-block-rbd-fix-handling-of-holes-in-.bdrv_co_b.patch => 0040-Revert-block-rbd-fix-handling-of-holes-in-.bdrv_co_b.patch} (91%)
 rename debian/patches/pve/{0042-Revert-block-rbd-implement-bdrv_co_block_status.patch => 0041-Revert-block-rbd-implement-bdrv_co_block_status.patch} (97%)
 create mode 100644 debian/patches/pve/0042-alloc-track-error-out-when-auto-remove-is-not-set.patch
 create mode 100644 debian/patches/pve/0043-alloc-track-avoid-seemingly-superfluous-child-permis.patch
 delete mode 100644 debian/patches/pve/0043-alloc-track-fix-deadlock-during-drop.patch
 rename debian/patches/pve/{0046-block-copy-before-write-fix-permission.patch => 0044-block-copy-before-write-fix-permission.patch} (94%)
 delete mode 100644 debian/patches/pve/0044-migration-for-snapshots-hold-the-BQL-during-setup-ca.patch
 rename debian/patches/pve/{0047-block-copy-before-write-support-unligned-snapshot-di.patch => 0045-block-copy-before-write-support-unligned-snapshot-di.patch} (94%)
 delete mode 100644 debian/patches/pve/0045-savevm-async-don-t-hold-BQL-during-setup.patch
 rename debian/patches/pve/{0048-block-copy-before-write-create-block_copy-bitmap-in-.patch => 0046-block-copy-before-write-create-block_copy-bitmap-in-.patch} (96%)
 rename debian/patches/pve/{0049-qapi-blockdev-backup-add-discard-source-parameter.patch => 0047-qapi-blockdev-backup-add-discard-source-parameter.patch} (88%)
 rename debian/patches/pve/{0050-copy-before-write-allow-specifying-minimum-cluster-s.patch => 0048-copy-before-write-allow-specifying-minimum-cluster-s.patch} (91%)
 rename debian/patches/pve/{0051-backup-add-minimum-cluster-size-to-performance-optio.patch => 0049-backup-add-minimum-cluster-size-to-performance-optio.patch} (90%)
 rename debian/patches/pve/{0052-PVE-backup-add-fleecing-option.patch => 0050-PVE-backup-add-fleecing-option.patch} (89%)

-- 
2.39.2





More information about the pve-devel mailing list