mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
During migration send one final set of changed memory after capturing the snapshot/state. This captures any memory changed as a side effect of capturing that state. In particular with vhost-user capturing the device state can lead to inflight requests being drained/flushed which could change memory. As this is related to the snapshot account for this memory transfer in the snapshot metrics. No equivalent change is needed for snapshot as the memory is written after the state is snapshotted. Signed-off-by: Rob Bradford <rbradford@meta.com>