]> git.proxmox.com Git - pve-qemu.git/commit - debian/patches/pve/0049-PVE-savevm-async-register-yank-before-migration_inco.patch
fix #4476: savevm-async: avoid looping without progress
authorFiona Ebner <f.ebner@proxmox.com>
Thu, 26 Jan 2023 13:46:13 +0000 (14:46 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 21 Feb 2023 07:39:08 +0000 (08:39 +0100)
commit8051a24b5f1e510156a20d332daf63c36b7d1767
tree40625e1b9a8dcfcdb16d7775a82e1651f12609d1
parentade9f501602d668aa3d0a2310637e4422b9741cd
fix #4476: savevm-async: avoid looping without progress

when pend_postcopy is large. By definition, pend_postcopy won't
decrease when iterating, so a value larger than the cutoff of 400000
would lead to essentially empty iterations, filling up the state file
until only 30 MiB + pending_size remain and the second half of the
check would trigger.

Avoid this, by not considering pend_postcopy for the cutoff to enter
the final phase.

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
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/0049-PVE-savevm-async-register-yank-before-migration_inco.patch