mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-23 06:05:21 +00:00
b2cdee80b6
This patch extends the previous behavior on the restore codepath. Instead of copying the memory regions content from the snapshot files into the new memory regions, the VMM will use the snapshot region files as the backing files behind each mapped region. This is done in order to reduce the time for the VM to be restored. When the source VM has been initially started with a backing file, this means it has been mapped with the MAP_SHARED flag. For this case, we cannot use the CoW trick to speed up the VM restore path and we simply fallback onto the copy of the memory regions content. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |