mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
Refactor the precopy memory migration path into dedicated helpers that handle the different migration phases: - initial full memory transfer - repeated dirty-page iterations while the VM is running - final iteration after the VM is paused This separates concerns in the migration code and provides the infrastructure needed for collecting migration metrics in the following changes. These changes are inspired by [0] but differ significantly in details. [0] https://github.com/cloud-hypervisor/cloud-hypervisor/pull/7033 Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de> On-behalf-of: SAP philipp.schuster@sap.com