mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-07-07 18:25:44 +00:00
In case the provided backing file is an actual file and not a directory, we should not truncate it, as we expect the file to already be the right size. This change will be important once we try to map the same file through multiple memory mappings. We can't let the file be truncated as the second mapping wouldn't work properly. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |