[pve-devel] applied: [PATCH v2 pve-qemu 1/5] Update to QEMU 5.2

Thomas Lamprecht t.lamprecht at proxmox.com
Fri Feb 12 15:35:09 CET 2021


On 11.02.21 17:11, Stefan Reiter wrote:
> Lots of patches touched and some slight changes to the build process
> since QEMU switched to meson as their build system. Functionality-wise
> very little rebasing required.
> 
> New patches introduced:
> * pve/0058: to fix VMA backups and clean up some code in general with
>   new 5.2 features now available to us (namely coroutine-enabled QMP).
> * extra/0002: don't build man pages for guest agent when disabled
> * extra/0003: fix live-migration with hugepages
> * 0017 and 0018 are adjusted to fix snapshot abort and improve
>   snap performance a bit
> 
> Signed-off-by: Stefan Reiter <s.reiter at proxmox.com>
> ---
> 
> v2:
> * update Makefile to detect in-tree builds in qemu/
> * add fixes for snapshot abort and fix QEMUFile buffer size increase
> * add agent man page and live-migration fix (also accepted upstream)
> 
> Known issues:
> * Snapshots with the vmstate target on ceph via librbd are slow - this is not a
>   new bug however. An attempt at a fix is included via the changes to the
>   QEMUFile patch, but it only improves the situtation slightly if at all.
>   I'm still looking into this one, but it should not be a blocker for 5.2 I
>   believe.
> 
> 
>  Makefile                                      |   3 +
>  debian/control                                |   1 +
>  ...u-img-convert-Don-t-pre-zero-images.patch} |   4 +-
>  ...-always-align-copied-region-to-clust.patch |  34 -
>  ...ll-man-page-if-guest-agent-is-disabl.patch |  38 ++
>  ...heck-page-size-match-if-RAM-postcopy.patch |  31 +
>  ...sb-fix-setup_len-init-CVE-2020-14364.patch |  87 ---
>  ...k-file-change-locking-default-to-off.patch |   2 +-
>  ...djust-network-script-path-to-etc-kvm.patch |  17 +-
>  ...he-CPU-model-to-kvm64-32-instead-of-.patch |   4 +-
>  ...ui-spice-default-to-pve-certificates.patch |   4 +-
>  .../0005-PVE-Config-smm_available-false.patch |   4 +-
>  ...lock-rbd-disable-rbd_cache_writethro.patch |   4 +-
>  .../0008-PVE-Up-qmp-add-get_link_status.patch |   6 +-
>  ...return-success-on-info-without-snaps.patch |   4 +-
>  ...dd-add-osize-and-read-from-to-stdin-.patch |  18 +-
>  ...E-Up-qemu-img-dd-add-isize-parameter.patch |  12 +-
>  ...PVE-Up-qemu-img-dd-add-n-skip_create.patch |  10 +-
>  ...virtio-balloon-improve-query-balloon.patch |  22 +-
>  .../0015-PVE-qapi-modify-query-machines.patch |  12 +-
>  .../0016-PVE-qapi-modify-spice-query.patch    |   8 +-
>  ...sync-for-background-state-snapshots.patch} | 584 +++++++++--------
>  ...dd-optional-buffer-size-to-QEMUFile.patch} |  32 +-
>  ...add-the-zeroinit-block-driver-filter.patch |  36 +-
>  ...-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 |  36 +-
>  ...VE-Backup-add-vma-backup-format-code.patch |  83 +--
>  ...-Backup-add-backup-dump-block-driver.patch |  36 +-
>  ...ckup-proxmox-backup-patches-for-qemu.patch | 127 ++--
>  ...estore-new-command-to-restore-from-p.patch |  39 +-
>  ...d-support-for-sync-bitmap-mode-never.patch |  76 +--
>  ...-support-for-conditional-and-always-.patch |  10 +-
>  ...check-for-bitmap-mode-without-bitmap.patch |   6 +-
>  ...-to-bdrv_dirty_bitmap_merge_internal.patch |   6 +-
>  ...5-iotests-add-test-for-bitmap-mirror.patch |   2 +-
>  .../0036-mirror-move-some-checks-to-qmp.patch |   8 +-
>  ...irty-bitmap-tracking-for-incremental.patch |  18 +-
>  ...name-incremental-to-use-dirty-bitmap.patch |   8 +-
>  ...ckup-add-compress-and-encrypt-option.patch |  10 +-
>  ...k-driver-to-map-backup-archives-into.patch |  80 +--
>  ...dd-query_proxmox_support-QMP-command.patch |   6 +-
>  ...issing-crypt-and-compress-parameters.patch |   2 +-
>  ...rite-callback-with-big-blocks-correc.patch |   2 +-
>  ...-block-handling-to-PBS-dump-callback.patch |   2 +-
>  ...E-add-query-pbs-bitmap-info-QMP-call.patch |  14 +-
>  ...ct-stderr-to-journal-when-daemonized.patch |  40 +-
>  ...d-sequential-job-transaction-support.patch |   2 +-
>  ...-transaction-to-synchronize-job-stat.patch |   2 +-
>  ...ore-coroutines-and-don-t-block-on-fi.patch |   6 +-
>  ...n-up-error-handling-for-create_backu.patch |   2 +-
>  ...grate-dirty-bitmap-state-via-savevm.patch} |  39 +-
>  ...dirty-bitmap-fix-larger-granularity-.patch |  33 -
>  ...irty-bitmap-migrate-other-bitmaps-e.patch} |   6 +-
>  ...multiple-CREATED-jobs-in-sequential.patch} |   2 +-
>  ...ll-back-to-open-iscsi-initiatorname.patch} |   5 +-
>  ...routine-QMP-for-backup-cancel_backup.patch | 597 ++++++++++++++++++
>  debian/patches/series                         |  20 +-
>  debian/pve-qemu-kvm.install                   |   2 -
>  debian/rules                                  |  12 +-
>  qemu                                          |   2 +-
>  64 files changed, 1436 insertions(+), 922 deletions(-)
>  rename debian/patches/extra/{0002-Revert-qemu-img-convert-Don-t-pre-zero-images.patch => 0001-Revert-qemu-img-convert-Don-t-pre-zero-images.patch} (91%)
>  delete mode 100644 debian/patches/extra/0001-block-block-copy-always-align-copied-region-to-clust.patch
>  create mode 100644 debian/patches/extra/0002-docs-don-t-install-man-page-if-guest-agent-is-disabl.patch
>  create mode 100644 debian/patches/extra/0003-migration-only-check-page-size-match-if-RAM-postcopy.patch
>  delete mode 100644 debian/patches/extra/0003-usb-fix-setup_len-init-CVE-2020-14364.patch
>  rename debian/patches/pve/{0017-PVE-internal-snapshot-async.patch => 0017-PVE-add-savevm-async-for-background-state-snapshots.patch} (84%)
>  rename debian/patches/pve/{0018-add-optional-buffer-size-to-QEMUFile.patch => 0018-PVE-add-optional-buffer-size-to-QEMUFile.patch} (87%)
>  rename debian/patches/pve/{0055-PVE-Migrate-dirty-bitmap-state-via-savevm.patch => 0054-PVE-Migrate-dirty-bitmap-state-via-savevm.patch} (90%)
>  delete mode 100644 debian/patches/pve/0054-migration-block-dirty-bitmap-fix-larger-granularity-.patch
>  rename debian/patches/pve/{0056-migration-block-dirty-bitmap-migrate-other-bitmaps-e.patch => 0055-migration-block-dirty-bitmap-migrate-other-bitmaps-e.patch} (89%)
>  rename debian/patches/pve/{0057-PVE-fix-aborting-multiple-CREATED-jobs-in-sequential.patch => 0056-PVE-fix-aborting-multiple-CREATED-jobs-in-sequential.patch} (97%)
>  rename debian/patches/pve/{0058-PVE-fall-back-to-open-iscsi-initiatorname.patch => 0057-PVE-fall-back-to-open-iscsi-initiatorname.patch} (97%)
>  create mode 100644 debian/patches/pve/0058-PVE-Use-coroutine-QMP-for-backup-cancel_backup.patch
> 
>

applied, thanks!





More information about the pve-devel mailing list