mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vmm: Wire postcopy live migration from source VM
Wire up the source side of postcopy migration over TCP. When `mode=postcopy` is requested on vm.send-migration, the source skips the pre-copy dirty-tracking loop and lets the destination resume early, then serves guest pages on demand over a dedicated connection. Signed-off-by: Sebastien Boeuf <sboeuf@meta.com> Assisted-by: Claude:claude-opus-4-7
This commit is contained in:
@@ -364,6 +364,9 @@ migration process. Via the API or `ch-remote`, you may specify:
|
||||
The number of parallel TCP connections to use for migration.
|
||||
Must be between `1` and `128`. Defaults to `1`.
|
||||
Multiple connections are not supported with local UNIX-socket migration.
|
||||
- `memory_mode <precopy|postcopy>`: \
|
||||
Memory transfer mode. `postcopy` resumes the destination first and faults
|
||||
guest pages in on demand over a dedicated connection. Defaults to `precopy`.
|
||||
|
||||
## Version Compatibility
|
||||
|
||||
|
||||
Reference in New Issue
Block a user