public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Fiona Ebner <f.ebner@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH qemu 0/5] QEMU 10.1.0
Date: Wed, 24 Sep 2025 16:47:09 +0200	[thread overview]
Message-ID: <20250924144848.170589-1-f.ebner@proxmox.com> (raw)

Slight change to the buildsys since .dt{b,s} files were moved into a
separate directory.


The bump to baseline QEMU machine version 6.0 for Proxmox VE 9 was
missed, since the compile time check for that was only enabled with
QEMU 10.1. While upstream only enforces the new policy with 10.1, that
check should've been enabled for Proxmox VE 9/QEMU 10.0 already. Fix
this and bump.


Notable changes for QEMU 10.1:

* Finally can drop RBD reverts for block-status callbacks:
  https://gitlab.com/qemu-project/qemu/-/issues/1026
  https://tracker.ceph.com/issues/63341

* dropped HPET reverts, see
  https://lore.proxmox.com/pve-devel/20250924143611.166858-1-f.ebner@proxmox.com/T/

* PVE backup required adaptation, because of 3d3911f16b
  ("blockdev-backup: Add error handling option for copy-before-write
  jobs"). It was kept as the default ON_CBW_ERROR_BREAK_GUEST_WRITE.
  While this should be changed to ON_CBW_ERROR_BREAK_SNAPSHOT like is
  done for fleecing, that requires more changes to actually detect
  that error in the main backup loop. Otherwise, the backup would be
  completed and corrupt! What is also missing compared to fleecing
  and fixing those bugs for good is having a timeout.

* machine version checks required adaptation, because of f59ee04406
  ("include/hw/boards: cope with dev/rc versions in deprecation
  checks") to not diverge even more from upstream. Remove the, now
  superfluous, check for QEMU version >= 10.1 that should've been
  for >= 10.0 actually, see commit "bump baseline machine version to
  6.0 for Proxmox VE 9" for context.

* Context changes during rebase for bitmap mirror patches. Upstream
  now already switched to passing the full mirror sync-mode 9474d97bd7
  ("mirror: Pass full sync mode rather than bool to internals") and
  dropped a parameter 253b43a290 ("mirror: Drop redundant zero_target
  parameter") and there were other smaller context changes.


Notable stable fixes:

The migration fixes "target/i386: add compatibility property for
arch_capabilities" and "target/i386: add compatibility property for
pdcm feature". For more information see:
https://lore.kernel.org/all/CAATJJ0+Qq3ksRmNRDrGQLVHQ=XnsnFHxCNxUhjJfNfgwUKkDPQ@mail.gmail.com/


Fiona Ebner (5):
  buildsys: adapt removal of dtb files for 10.1.0
  bump baseline machine version to 6.0 for Proxmox VE 9
  alloc-track/zeroinit: squash patches enabling using with blockdev into
    patches adding block drivers
  update submodule and patches to QEMU 10.1.0
  stable fixes for QEMU 10.1.0

 Makefile                                      |   4 +-
 ...d-support-for-sync-bitmap-mode-never.patch | 155 ++++------
 ...-support-for-conditional-and-always-.patch |  10 +-
 ...check-for-bitmap-mode-without-bitmap.patch |   4 +-
 ...-to-bdrv_dirty_bitmap_merge_internal.patch |   8 +-
 .../0006-mirror-move-some-checks-to-qmp.patch |  12 +-
 ...race-with-clients-disconnecting-earl.patch |   4 +-
 ...Trap-PMCR-when-MDCR_EL2.TPMCR-is-set.patch |  96 ++++++
 ...ish-renaming-atomic128-cas.h-headers.patch |  25 ++
 ...l-fix-curl-internal-handles-handling.patch |  60 ++++
 ...g-svm-fix-incorrect-canonicalization.patch |  38 +++
 ...07-hw-vfio-user-add-x-pci-class-code.patch |  35 +++
 .../extra/0008-tcg-arm-Fix-tgen_deposit.patch |  37 +++
 ...rash-from-legacy-interrupt-firing-af.patch |  58 ++++
 ...quirks-when-IGD-is-not-the-primary-d.patch |  79 +++++
 ...able-SMM-cpu-address-space-under-KVM.patch | 106 +++++++
 ...compatibility-property-for-arch_capa.patch | 109 +++++++
 ...compatibility-property-for-pdcm-feat.patch |  96 ++++++
 ...k-file-change-locking-default-to-off.patch |   6 +-
 ...djust-network-script-path-to-etc-kvm.patch |   4 +-
 ...he-CPU-model-to-kvm64-32-instead-of-.patch |   6 +-
 ...ui-spice-default-to-pve-certificates.patch |   4 +-
 ...erfs-no-default-logfile-if-daemonize.patch |   2 +-
 ...lock-rbd-disable-rbd_cache_writethro.patch |   4 +-
 ...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 |  19 +-
 ...E-Up-qemu-img-dd-add-isize-parameter.patch |  19 +-
 ...PVE-Up-qemu-img-dd-add-n-skip_create.patch |  25 +-
 ...-add-l-option-for-loading-a-snapshot.patch |  24 +-
 ...virtio-balloon-improve-query-balloon.patch |  12 +-
 .../0014-PVE-qapi-modify-query-machines.patch |  10 +-
 .../0015-PVE-qapi-modify-spice-query.patch    |  10 +-
 ...nnel-implementation-for-savevm-async.patch |   6 +-
 ...async-for-background-state-snapshots.patch |  37 +--
 ...add-optional-buffer-size-to-QEMUFile.patch |  10 +-
 ...add-the-zeroinit-block-driver-filter.patch |  46 ++-
 ...-Add-dummy-id-command-line-parameter.patch |  10 +-
 ...t-target-i386-disable-LINT0-after-re.patch |   2 +-
 ...le-posix-make-locking-optiono-on-cre.patch |  20 +-
 ...3-PVE-monitor-disable-oob-capability.patch |   4 +-
 ...sed-balloon-qemu-4-0-config-size-fal.patch |   4 +-
 ...E-Allow-version-code-in-machine-type.patch |  22 +-
 ...e-bcs-bitmap-initialization-to-job-c.patch |   4 +-
 ...VE-Backup-add-vma-backup-format-code.patch |   6 +-
 ...-Backup-add-backup-dump-block-driver.patch |   6 +-
 ...d-sequential-job-transaction-support.patch |   2 +-
 ...ckup-Proxmox-backup-patches-for-QEMU.patch |  47 +--
 ...estore-new-command-to-restore-from-p.patch |   4 +-
 ...k-driver-to-map-backup-archives-into.patch |  12 +-
 ...ct-stderr-to-journal-when-daemonized.patch |  10 +-
 ...igrate-dirty-bitmap-state-via-savevm.patch |  16 +-
 ...dirty-bitmap-migrate-other-bitmaps-e.patch |   2 +-
 ...all-back-to-open-iscsi-initiatorname.patch |   2 +-
 ...PVE-block-stream-increase-chunk-size.patch |   2 +-
 .../0038-block-add-alloc-track-driver.patch   |  61 +++-
 ...0039-PVE-backup-add-fleecing-option.patch} |  32 +-
 ...-rbd-workaround-for-ceph-issue-53784.patch |  81 -----
 ...-fix-handling-of-holes-in-.bdrv_co_b.patch |  36 ---
 ...-version-deprecation-for-Proxmox-VE.patch} |  77 +++--
 ...-out-helper-to-clear-backup-state-s.patch} |   2 +-
 ...k-rbd-implement-bdrv_co_block_status.patch | 162 ----------
 ...-out-helper-to-initialize-backup-st.patch} |   2 +-
 ...ackup-add-target-ID-in-backup-state.patch} |   2 +-
 ...vice-info-allow-caller-to-specify-f.patch} |   2 +-
 ...void-timer-storms-on-periodic-timers.patch |  50 ----
 ...ent-backup-access-setup-and-teardow.patch} |  16 +-
 ...e-full-64-bit-target-value-of-the-co.patch | 202 -------------
 ...e-for-the-switch-to-using-blockdev-.patch} |  11 +-
 ...-hpet-accept-64-bit-reads-and-writes.patch | 281 ------------------
 ...e-read-only-bits-directly-in-new_val.patch |  64 ----
 ...e-migration-blocker-check-for-snaps.patch} |  10 +-
 ...et-remove-unnecessary-variable-index.patch |  68 -----
 ...re-high-bits-of-comparator-in-32-bit.patch |  40 ---
 ...and-cleanup-persistence-of-interrupt.patch | 120 --------
 ...nit-support-using-as-blockdev-driver.patch |  71 -----
 ...ack-support-using-as-blockdev-driver.patch |  61 ----
 ...de-child-references-in-block-device-.patch | 137 ---------
 debian/patches/series                         |  42 ++-
 qemu                                          |   2 +-
 80 files changed, 1224 insertions(+), 1777 deletions(-)
 create mode 100644 debian/patches/extra/0003-target-arm-Trap-PMCR-when-MDCR_EL2.TPMCR-is-set.patch
 create mode 100644 debian/patches/extra/0004-qemu-atomic-Finish-renaming-atomic128-cas.h-headers.patch
 create mode 100644 debian/patches/extra/0005-block-curl-fix-curl-internal-handles-handling.patch
 create mode 100644 debian/patches/extra/0006-i386-tcg-svm-fix-incorrect-canonicalization.patch
 create mode 100644 debian/patches/extra/0007-hw-vfio-user-add-x-pci-class-code.patch
 create mode 100644 debian/patches/extra/0008-tcg-arm-Fix-tgen_deposit.patch
 create mode 100644 debian/patches/extra/0009-e1000e-Prevent-crash-from-legacy-interrupt-firing-af.patch
 create mode 100644 debian/patches/extra/0010-vfio-igd-Enable-quirks-when-IGD-is-not-the-primary-d.patch
 create mode 100644 debian/patches/extra/0011-i386-cpu-Enable-SMM-cpu-address-space-under-KVM.patch
 create mode 100644 debian/patches/extra/0012-target-i386-add-compatibility-property-for-arch_capa.patch
 create mode 100644 debian/patches/extra/0013-target-i386-add-compatibility-property-for-pdcm-feat.patch
 rename debian/patches/pve/{0042-PVE-backup-add-fleecing-option.patch => 0039-PVE-backup-add-fleecing-option.patch} (95%)
 delete mode 100644 debian/patches/pve/0039-Revert-block-rbd-workaround-for-ceph-issue-53784.patch
 delete mode 100644 debian/patches/pve/0040-Revert-block-rbd-fix-handling-of-holes-in-.bdrv_co_b.patch
 rename debian/patches/pve/{0043-adapt-machine-version-deprecation-for-Proxmox-VE.patch => 0040-adapt-machine-version-deprecation-for-Proxmox-VE.patch} (69%)
 rename debian/patches/pve/{0051-PVE-backup-factor-out-helper-to-clear-backup-state-s.patch => 0041-PVE-backup-factor-out-helper-to-clear-backup-state-s.patch} (98%)
 delete mode 100644 debian/patches/pve/0041-Revert-block-rbd-implement-bdrv_co_block_status.patch
 rename debian/patches/pve/{0052-PVE-backup-factor-out-helper-to-initialize-backup-st.patch => 0042-PVE-backup-factor-out-helper-to-initialize-backup-st.patch} (98%)
 rename debian/patches/pve/{0053-PVE-backup-add-target-ID-in-backup-state.patch => 0043-PVE-backup-add-target-ID-in-backup-state.patch} (98%)
 rename debian/patches/pve/{0054-PVE-backup-get-device-info-allow-caller-to-specify-f.patch => 0044-PVE-backup-get-device-info-allow-caller-to-specify-f.patch} (98%)
 delete mode 100644 debian/patches/pve/0044-Revert-hpet-avoid-timer-storms-on-periodic-timers.patch
 rename debian/patches/pve/{0055-PVE-backup-implement-backup-access-setup-and-teardow.patch => 0045-PVE-backup-implement-backup-access-setup-and-teardow.patch} (99%)
 delete mode 100644 debian/patches/pve/0045-Revert-hpet-store-full-64-bit-target-value-of-the-co.patch
 rename debian/patches/pve/{0056-PVE-backup-prepare-for-the-switch-to-using-blockdev-.patch => 0046-PVE-backup-prepare-for-the-switch-to-using-blockdev-.patch} (94%)
 delete mode 100644 debian/patches/pve/0046-Revert-hpet-accept-64-bit-reads-and-writes.patch
 delete mode 100644 debian/patches/pve/0047-Revert-hpet-place-read-only-bits-directly-in-new_val.patch
 rename debian/patches/pve/{0060-savevm-async-reuse-migration-blocker-check-for-snaps.patch => 0047-savevm-async-reuse-migration-blocker-check-for-snaps.patch} (96%)
 delete mode 100644 debian/patches/pve/0048-Revert-hpet-remove-unnecessary-variable-index.patch
 delete mode 100644 debian/patches/pve/0049-Revert-hpet-ignore-high-bits-of-comparator-in-32-bit.patch
 delete mode 100644 debian/patches/pve/0050-Revert-hpet-fix-and-cleanup-persistence-of-interrupt.patch
 delete mode 100644 debian/patches/pve/0057-block-zeroinit-support-using-as-blockdev-driver.patch
 delete mode 100644 debian/patches/pve/0058-block-alloc-track-support-using-as-blockdev-driver.patch
 delete mode 100644 debian/patches/pve/0059-block-qapi-include-child-references-in-block-device-.patch

-- 
2.47.3



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


             reply	other threads:[~2025-09-24 14:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-24 14:47 Fiona Ebner [this message]
2025-09-24 14:47 ` [pve-devel] [PATCH qemu 1/5] buildsys: adapt removal of dtb files for 10.1.0 Fiona Ebner
2025-09-24 14:47 ` [pve-devel] [PATCH qemu 2/5] bump baseline machine version to 6.0 for Proxmox VE 9 Fiona Ebner
2025-09-24 14:47 ` [pve-devel] [PATCH qemu 3/5] alloc-track/zeroinit: squash patches enabling using with blockdev into patches adding block drivers Fiona Ebner
2025-09-24 14:47 ` [pve-devel] [PATCH qemu 4/5] update submodule and patches to QEMU 10.1.0 Fiona Ebner
2025-09-24 14:47 ` [pve-devel] [PATCH qemu 5/5] stable fixes for " Fiona Ebner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250924144848.170589-1-f.ebner@proxmox.com \
    --to=f.ebner@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal