]> git.ipfire.org Git - thirdparty/qemu.git/commit
Reduce the PVM stop time during Checkpoint
authorRao, Lei <lei.rao@intel.com>
Tue, 9 Nov 2021 03:04:55 +0000 (11:04 +0800)
committerJuan Quintela <quintela@redhat.com>
Tue, 9 Nov 2021 07:46:30 +0000 (08:46 +0100)
commita6a83cef9c581d210fd965fc7ac17e388db840dc
treef7d2623f6649c7f0530d354ed417140b1873474b
parentadc903a6c00531022114ffc4efe99ffbe92a22c6
Reduce the PVM stop time during Checkpoint

When flushing memory from ram cache to ram during every checkpoint
on secondary VM, we can copy continuous chunks of memory instead of
4096 bytes per time to reduce the time of VM stop during checkpoint.

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>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Tested-by: Lukas Straub <lukasstraub2@web.de>
Signed-off-by: Juan Quintela <quintela@redhat.com>
migration/ram.c