cloud-hypervisor/vmm
Sebastien Boeuf 59d4a56ab7 vmm: memory_manager: Don't truncate backing file
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>
2020-08-25 16:43:10 +02:00
..
src vmm: memory_manager: Don't truncate backing file 2020-08-25 16:43:10 +02:00
Cargo.toml build(deps): bump libc from 0.2.74 to 0.2.76 2020-08-21 07:08:35 +00:00