From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 6AFD298A5B for ; Fri, 12 May 2023 17:11:12 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 3475A2FE62 for ; Fri, 12 May 2023 17:10:42 +0200 (CEST) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [94.136.29.106]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS for ; Fri, 12 May 2023 17:10:40 +0200 (CEST) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 453A640B19 for ; Fri, 12 May 2023 17:10:39 +0200 (CEST) From: Fiona Ebner To: pve-devel@lists.proxmox.com Date: Fri, 12 May 2023 17:10:30 +0200 Message-Id: <20230512151035.91478-1-f.ebner@proxmox.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL -0.298 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment KAM_NUMSUBJECT 0.5 Subject ends in numbers excluding current years SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record T_SCC_BODY_TEXT_LINE -0.01 - Subject: [pve-devel] [PATCH-SERIES qemu] update to QEMU 8.0 X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 May 2023 15:11:12 -0000 After weeks and weeks of (sometimes painful) debugging, it's finally here. And got a load of stable fixes on top already. More testing is always appreciated, especially backup, PBS live restore and snapshots, which needed quite a few changes! I'm planning to squash many of the backup-related patches after this, it was a huge pain to touch 6 patches where it could've easily been just one. (if patch 3/5 doesn't immediately show up on the list it probably ended up in the moderation queue ;)) Fiona Ebner (5): d/rules: drop virtiofsd switch d/rules: set job flag for make based on DEB_BUILD_OPTIONS update submodule and patches to QEMU 8.0.0 add stable patches for 8.0.0 PVE backup: don't call no_co_wrapper function from coroutine ...d-support-for-sync-bitmap-mode-never.patch | 95 ++--- ...-support-for-conditional-and-always-.patch | 10 +- ...check-for-bitmap-mode-without-bitmap.patch | 6 +- ...-to-bdrv_dirty_bitmap_merge_internal.patch | 6 +- .../0006-mirror-move-some-checks-to-qmp.patch | 14 +- ...race-with-clients-disconnecting-earl.patch | 6 +- ...monize-defuse-PID-file-resolve-error.patch | 42 -- ...memory-prevent-dma-reentracy-issues.patch} | 4 +- ...s-Internal-cdbs-have-16-byte-length.patch} | 0 ...he-bitmap-index-of-the-section-offse.patch | 44 --- ...al-deadlock-when-draining-during-tr.patch} | 10 +- ...he-iterator-variable-in-a-vmem-rdl_l.patch | 36 -- ...sabling-re-entrancy-checking-per-MR.patch} | 6 +- ...ty-bitmap-syncing-when-vIOMMU-is-ena.patch | 141 ------- ...e-reentrancy-detection-for-script-R.patch} | 2 +- ...pci-fix-migration-compat-for-vectors.patch | 42 -- ...-zeroes-with-BDRV_REQ_REGISTERED_BUF.patch | 36 -- ...39-fix-large_send_mss-divide-by-zero.patch | 72 ++++ ...-Fix-crash-when-executing-HMP-commit.patch | 48 +++ ...double-free-on-BUSY-or-similar-statu.patch | 32 -- ...hen-getting-cursor-without-a-console.patch | 36 ++ ...our-channel-order-for-PNG-screenshot.patch | 77 ++++ ...arm-Fix-vd-vm-overlap-in-sve_ldff1_z.patch | 41 ++ ...ing-endian-conversions-for-doorbell-.patch | 67 ---- ...e-incorrect-computation-in-float32_e.patch | 56 +++ ...fix-field-corruption-in-type-4-table.patch | 50 --- ...ge-wrong-XFRM-value-in-SGX-CPUID-lea.patch | 39 ++ ...t-assert_bdrv_graph_readable-by-defa.patch | 106 +++++ ...ix-transitional-migration-compat-for.patch | 35 -- ...CI_ERR_UNCOR_MASK-register-for-machi.patch | 100 +++++ ...er-hpet-Fix-expiration-time-overflow.patch | 80 ---- ...after-free-in-blockdev_mark_auto_del.patch | 57 +++ ...vdpa-stop-all-svq-on-device-deletion.patch | 71 ---- ...ly-call-bdrv_activate-outside-corout.patch | 64 +++ ...tential-use-of-an-uninitialized-vari.patch | 132 ------- ...o_unref-for-calls-in-coroutine-conte.patch | 373 ++++++++++++++++++ ...ket-set-s-listener-NULL-in-char_sock.patch | 70 ---- ...-no_coroutine_fns-in-qmp_block_resiz.patch | 43 ++ ...il-MAP-notifier-without-caching-mode.patch | 41 -- ...-tcg-Fix-atomic_mmu_lookup-for-reads.patch | 36 ++ ...-fail-DEVIOTLB_UNMAP-without-dt-mode.patch | 50 --- ...uest-visible-maximum-access-size-to-.patch | 166 -------- ...Introduce-and-use-reg_t-consistently.patch | 286 -------------- ...25-target-i386-Fix-BEXTR-instruction.patch | 97 ----- ...i386-Fix-C-flag-for-BLSI-BLSMSK-BLSR.patch | 47 --- ...arget-i386-fix-ADOX-followed-by-ADCX.patch | 192 --------- ...028-target-i386-Fix-BZHI-instruction.patch | 64 --- ...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 | 4 +- ...ui-spice-default-to-pve-certificates.patch | 4 +- ...erfs-no-default-logfile-if-daemonize.patch | 8 +- ...lock-rbd-disable-rbd_cache_writethro.patch | 4 +- .../0007-PVE-Up-qmp-add-get_link_status.patch | 8 +- ...PVE-Up-glusterfs-allow-partial-reads.patch | 14 +- ...return-success-on-info-without-snaps.patch | 4 +- ...dd-add-osize-and-read-from-to-stdin-.patch | 12 +- ...E-Up-qemu-img-dd-add-isize-parameter.patch | 14 +- ...PVE-Up-qemu-img-dd-add-n-skip_create.patch | 10 +- ...virtio-balloon-improve-query-balloon.patch | 95 ++--- .../0014-PVE-qapi-modify-query-machines.patch | 14 +- .../0015-PVE-qapi-modify-spice-query.patch | 13 +- ...nnel-implementation-for-savevm-async.patch | 11 +- ...async-for-background-state-snapshots.patch | 101 ++--- ...add-optional-buffer-size-to-QEMUFile.patch | 10 +- ...add-the-zeroinit-block-driver-filter.patch | 30 +- ...-Add-dummy-id-command-line-parameter.patch | 10 +- ...t-target-i386-disable-LINT0-after-re.patch | 4 +- ...le-posix-make-locking-optiono-on-cre.patch | 18 +- ...sed-balloon-qemu-4-0-config-size-fal.patch | 4 +- ...E-Allow-version-code-in-machine-type.patch | 31 +- ...e-bcs-bitmap-initialization-to-job-c.patch | 4 +- ...VE-Backup-add-vma-backup-format-code.patch | 10 +- ...-Backup-add-backup-dump-block-driver.patch | 39 +- ...ckup-proxmox-backup-patches-for-qemu.patch | 157 ++++---- ...estore-new-command-to-restore-from-p.patch | 4 +- ...irty-bitmap-tracking-for-incremental.patch | 96 ++--- .../pve/0032-PVE-various-PBS-fixes.patch | 86 ++-- ...k-driver-to-map-backup-archives-into.patch | 46 +-- ...dd-query_proxmox_support-QMP-command.patch | 8 +- ...E-add-query-pbs-bitmap-info-QMP-call.patch | 54 +-- ...ct-stderr-to-journal-when-daemonized.patch | 8 +- ...-transaction-to-synchronize-job-stat.patch | 28 +- ...-block-on-finishing-and-cleanup-crea.patch | 46 +-- ...igrate-dirty-bitmap-state-via-savevm.patch | 40 +- ...dirty-bitmap-migrate-other-bitmaps-e.patch | 4 +- ...all-back-to-open-iscsi-initiatorname.patch | 4 +- ...routine-QMP-for-backup-cancel_backup.patch | 169 ++++---- .../pve/0044-PBS-add-master-key-support.patch | 60 +-- ...st-path-reads-without-allocation-if-.patch | 6 +- ...PVE-block-stream-increase-chunk-size.patch | 4 +- ...accept-NULL-qiov-in-bdrv_pad_request.patch | 4 +- .../0048-block-add-alloc-track-driver.patch | 17 +- ...-register-yank-before-migration_inco.patch | 4 +- ...-add-l-option-for-loading-a-snapshot.patch | 14 +- .../pve/0052-pbs-namespace-support.patch | 62 +-- ...-rbd-workaround-for-ceph-issue-53784.patch | 8 +- ...-fix-handling-of-holes-in-.bdrv_co_b.patch | 4 +- ...k-rbd-implement-bdrv_co_block_status.patch | 10 +- ...e-jobs-correctly-cancel-in-error-sce.patch | 8 +- ...nsure-jobs-in-di_list-are-referenced.patch | 8 +- ...d-segfault-issues-upon-backup-cancel.patch | 6 +- ...ck-alloc-track-avoid-premature-break.patch | 4 +- ...-passing-max-workers-performance-set.patch | 34 +- ...alloc-track-fix-deadlock-during-drop.patch | 153 +++++++ ...vevm-async-optimize-querying-pending.patch | 49 +++ ...also-initialize-compression-counters.patch | 26 ++ ...apshots-hold-the-BQL-during-setup-ca.patch | 190 +++++++++ ...vm-async-don-t-hold-BQL-during-setup.patch | 29 ++ debian/patches/series | 51 ++- debian/rules | 4 +- qemu | 2 +- 112 files changed, 2455 insertions(+), 2666 deletions(-) delete mode 100644 debian/patches/extra/0002-init-daemonize-defuse-PID-file-resolve-error.patch rename debian/patches/extra/{0008-memory-prevent-dma-reentracy-issues.patch => 0002-memory-prevent-dma-reentracy-issues.patch} (98%) rename debian/patches/extra/{0010-scsi-megasas-Internal-cdbs-have-16-byte-length.patch => 0003-scsi-megasas-Internal-cdbs-have-16-byte-length.patch} (100%) delete mode 100644 debian/patches/extra/0003-virtio-mem-Fix-the-bitmap-index-of-the-section-offse.patch rename debian/patches/extra/{0011-ide-avoid-potential-deadlock-when-draining-during-tr.patch => 0004-ide-avoid-potential-deadlock-when-draining-during-tr.patch} (93%) delete mode 100644 debian/patches/extra/0004-virtio-mem-Fix-the-iterator-variable-in-a-vmem-rdl_l.patch rename debian/patches/extra/{0021-memory-Allow-disabling-re-entrancy-checking-per-MR.patch => 0005-memory-Allow-disabling-re-entrancy-checking-per-MR.patch} (91%) delete mode 100644 debian/patches/extra/0005-vhost-fix-vq-dirty-bitmap-syncing-when-vIOMMU-is-ena.patch rename debian/patches/extra/{0022-lsi53c895a-disable-reentrancy-detection-for-script-R.patch => 0006-lsi53c895a-disable-reentrancy-detection-for-script-R.patch} (97%) delete mode 100644 debian/patches/extra/0006-virtio-rng-pci-fix-migration-compat-for-vectors.patch delete mode 100644 debian/patches/extra/0007-block-fix-detect-zeroes-with-BDRV_REQ_REGISTERED_BUF.patch create mode 100644 debian/patches/extra/0007-rtl8139-fix-large_send_mss-divide-by-zero.patch create mode 100644 debian/patches/extra/0008-block-monitor-Fix-crash-when-executing-HMP-commit.patch delete mode 100644 debian/patches/extra/0009-block-iscsi-fix-double-free-on-BUSY-or-similar-statu.patch create mode 100644 debian/patches/extra/0009-ui-return-NULL-when-getting-cursor-without-a-console.patch create mode 100644 debian/patches/extra/0010-ui-Fix-pixel-colour-channel-order-for-PNG-screenshot.patch create mode 100644 debian/patches/extra/0011-target-arm-Fix-vd-vm-overlap-in-sve_ldff1_z.patch delete mode 100644 debian/patches/extra/0012-hw-nvme-fix-missing-endian-conversions-for-doorbell-.patch create mode 100644 debian/patches/extra/0012-softfloat-Fix-the-incorrect-computation-in-float32_e.patch delete mode 100644 debian/patches/extra/0013-hw-smbios-fix-field-corruption-in-type-4-table.patch create mode 100644 debian/patches/extra/0013-target-i386-Change-wrong-XFRM-value-in-SGX-CPUID-lea.patch create mode 100644 debian/patches/extra/0014-block-compile-out-assert_bdrv_graph_readable-by-defa.patch delete mode 100644 debian/patches/extra/0014-virtio-rng-pci-fix-transitional-migration-compat-for.patch create mode 100644 debian/patches/extra/0015-hw-pci-Disable-PCI_ERR_UNCOR_MASK-register-for-machi.patch delete mode 100644 debian/patches/extra/0015-hw-timer-hpet-Fix-expiration-time-overflow.patch create mode 100644 debian/patches/extra/0016-block-Fix-use-after-free-in-blockdev_mark_auto_del.patch delete mode 100644 debian/patches/extra/0016-vdpa-stop-all-svq-on-device-deletion.patch create mode 100644 debian/patches/extra/0017-block-Consistently-call-bdrv_activate-outside-corout.patch delete mode 100644 debian/patches/extra/0017-vhost-avoid-a-potential-use-of-an-uninitialized-vari.patch create mode 100644 debian/patches/extra/0018-block-bdrv-blk_co_unref-for-calls-in-coroutine-conte.patch delete mode 100644 debian/patches/extra/0018-chardev-char-socket-set-s-listener-NULL-in-char_sock.patch create mode 100644 debian/patches/extra/0019-block-Don-t-call-no_coroutine_fns-in-qmp_block_resiz.patch delete mode 100644 debian/patches/extra/0019-intel-iommu-fail-MAP-notifier-without-caching-mode.patch create mode 100644 debian/patches/extra/0020-accel-tcg-Fix-atomic_mmu_lookup-for-reads.patch delete mode 100644 debian/patches/extra/0020-intel-iommu-fail-DEVIOTLB_UNMAP-without-dt-mode.patch delete mode 100644 debian/patches/extra/0023-acpi-cpuhp-fix-guest-visible-maximum-access-size-to-.patch delete mode 100644 debian/patches/extra/0024-tests-tcg-i386-Introduce-and-use-reg_t-consistently.patch delete mode 100644 debian/patches/extra/0025-target-i386-Fix-BEXTR-instruction.patch delete mode 100644 debian/patches/extra/0026-target-i386-Fix-C-flag-for-BLSI-BLSMSK-BLSR.patch delete mode 100644 debian/patches/extra/0027-target-i386-fix-ADOX-followed-by-ADCX.patch delete mode 100644 debian/patches/extra/0028-target-i386-Fix-BZHI-instruction.patch create mode 100644 debian/patches/pve/0063-alloc-track-fix-deadlock-during-drop.patch create mode 100644 debian/patches/pve/0064-savevm-async-optimize-querying-pending.patch create mode 100644 debian/patches/pve/0065-savevm-async-also-initialize-compression-counters.patch create mode 100644 debian/patches/pve/0066-migration-for-snapshots-hold-the-BQL-during-setup-ca.patch create mode 100644 debian/patches/pve/0067-savevm-async-don-t-hold-BQL-during-setup.patch -- 2.39.2