]> git.proxmox.com Git - mirror_qemu.git/commit
Reset the auto-converge counter at every checkpoint.
authorRao, Lei <lei.rao@intel.com>
Tue, 9 Nov 2021 03:04:54 +0000 (11:04 +0800)
committerJuan Quintela <quintela@redhat.com>
Tue, 9 Nov 2021 07:48:36 +0000 (08:48 +0100)
commit91fe9a8dbd449a2f333aefb82ec8adb1f6424408
treeee2a41d79e06642a4773cba5719b47e6e83f9e37
parenta6a83cef9c581d210fd965fc7ac17e388db840dc
Reset the auto-converge counter at every checkpoint.

if we don't reset the auto-converge counter,
it will continue to run with COLO running,
and eventually the system will hang due to the
CPU throttle reaching DEFAULT_MIGRATE_MAX_CPU_THROTTLE.

Signed-off-by: Lei Rao <lei.rao@intel.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Lukas Straub <lukasstraub2@web.de>
Tested-by: Lukas Straub <lukasstraub2@web.de>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
migration/colo.c
migration/ram.c
migration/ram.h