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)
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)
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>
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)
reason: in order to make manage kata-containers related source code more easy,
we decide to move all kata related source repo into kata-containers repo.
Signed-off-by: jiangpengfei <jiangpengfei9@huawei.com>