8 Commits

Author SHA1 Message Date
Ruoqing He
e978cf8c28 Add support for riscv64 platform
Add patch to support Go runtime on riscv64 platform.

Signed-off-by: Ruoqing He <ruoqing@isrc.iscas.ac.cn>
(cherry picked from commit a37b75757527098881fb5db9ac3e9d0df127f0a6)
(cherry picked from commit ba7c85d417c17cf8f75966a2b0cba58d55835c5e)
2024-11-19 11:51:18 +08:00
xuxuepeng
cdd36faef0 Allow swappiness to be -1 as default
Signed-off-by: xuxuepeng <xuxuepeng1@huawei.com>
(cherry picked from commit ccfbf74810da05bfe42352343bc5125845bb8901)
(cherry picked from commit 4b7725203b1745ee413ca5968f562b77b3ac1239)
2024-11-19 11:48:26 +08:00
Liu Wenyuan
1c45df35d3 stratovirt: Add stratovirt microvm support for kata
Add support of the MicroVM machine type of StratoVirt
hypervisor for the kata go runtime, with configuration
toml, build support and test.

This is a backport from kata-containers v3.3.0 release.

Signed-off-by: Liu Wenyuan <liuwenyuan9@huawei.com>
(cherry picked from commit f686c0ec5db954b201b2a524f2cf807fa0c26860)
(cherry picked from commit 380ab1801a9b5e630d67f41b32c387b336411fa1)
2024-11-19 11:28:30 +08:00
Vanient
77ac1fd1a3 kata-containers:update to 3.2.0
Signed-off-by: Vanient <xiadanni1@huawei.com>
2024-02-19 19:22:04 +08:00
Vanient
b68a95475f kata-containers:update cgroup-rs crate to fix for set_kmem_limit error
fix start container failed with "unable to write to control group file"
on kernel >=5.16

reference:https://github.com/kata-containers/kata-containers/issues/4390

Signed-off-by: Vanient <xiadanni1@huawei.com>
(cherry picked from commit 64556df9611e0fb6109395b2b62744c6ae1a0fb0)
2023-09-05 15:37:29 +08:00
Keqian Zhu
b0545d4297 stratovirt: Append readonly option when get pflash cmdline
All Stratovirt VM shares the same pflash file by default,
and file can only be shared readonly for safety.

Signed-off-by: Keqian Zhu <zhukeqian1@huawei.com>
2023-03-01 08:50:36 +08:00
Vanient
0c47c835f8 kata:optimize compile options
1. add CGO compile options for
kata-runtime/kata-netmon/containerd-shim-kata-v2, including open
BIND_NOW, SP, FS compile options.
2. use pie mode to build kata-monitor

Signed-off-by: Vanient <xiadanni1@huawei.com>
(cherry picked from commit 91abc3917fa847ce1fea0273bc2d523534aee70c)
2022-09-09 16:17:07 +08:00
Vanient
1508e48937 kata-containers:upgrade to 2.x
Signed-off-by: Vanient <xiadanni1@huawei.com>
2022-09-05 16:08:07 +08:00