vmm: migration: add code comment

Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de>
On-behalf-of: SAP philipp.schuster@sap.com
This commit is contained in:
Philipp Schuster
2026-03-12 07:09:51 +01:00
committed by Rob Bradford
parent 1f5c5093e4
commit 447a4c236b

View File

@@ -2850,6 +2850,8 @@ impl Vm {
Ok(())
}
/// Writes the contents of the given guest memory regions to the provided sink.
/// Used, for example, during VM live migration to transfer memory to a socket.
pub fn send_memory_regions<F>(
&mut self,
ranges: &MemoryRangeTable,