Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
image: 2Mb default image size alignment
Change the default image size alignment from 128Mb to 2Mb. The guest image size is 48Mb smaller after this change. A custom size aligment can be specified using the new variable IMAGE_SIZE_ALIGNMENT. Using a smaller guest image size is currently significant on AKS-Kata hosts, because the entire image gets copied into guest MAP_PRIVATE pages when using cloud-hypervisor's "--pmem discard_writes=on". Signed-off-by: Dan Mihai <[email protected]>
- Loading branch information