mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-27 02:54:27 +01:00
This commit adds qemu virtio-mem support. Then qemu can use virtio-mem support memory resize. To enable this function, need the Linux and the qemu that support virtio-mem. Use command "echo 1 > /proc/sys/vm/overcommit_memory" to enable memory overcommitment of the Linux kernel. Because qemu virtio-mem device need to allocate a lot of memory. Set "enable_virtio_mem" of kata configuration to true. Fixes: #2406 Signed-off-by: Hui Zhu <teawater@antfin.com>
Kata utilities packages
The katautils package contains useful functions that are shared by various
parts of the codebase, including the runtime and the container v2 shim.