30 Commits

Author SHA1 Message Date
xuxuepeng
4b7725203b Allow swappiness to be -1 as default
Signed-off-by: xuxuepeng <xuxuepeng1@huawei.com>
(cherry picked from commit ccfbf74810da05bfe42352343bc5125845bb8901)
2024-05-08 11:13:36 +08:00
openeuler-ci-bot
a6449fe8c6
!138 [sync] PR-136: spec: Fix the spec for configuration-stratovirt toml file install
From: @openeuler-sync-bot 
Reviewed-by: @xuxuepeng 
Signed-off-by: @xuxuepeng
2024-05-08 03:12:23 +00:00
Liu Wenyuan
129de0c0be spec: Fix the spec for configuration-stratovirt toml file
The lack of configuration-stratovirt.toml in %file would
cause the failure of toml install.

Signed-off-by: Liu Wenyuan <liuwenyuan9@huawei.com>
(cherry picked from commit d5d3427d8dcaa4fc4de58418deddbb5e647ec95c)
2024-05-08 09:42:33 +08:00
openeuler-ci-bot
b2e5641296
!137 [sync] PR-135: stratovirt: Add stratovirt microvm support for kata 3.2.0
From: @openeuler-sync-bot 
Reviewed-by: @xuxuepeng 
Signed-off-by: @xuxuepeng
2024-05-08 01:41:50 +00:00
Liu Wenyuan
380ab1801a 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)
2024-05-08 09:39:37 +08:00
openeuler-ci-bot
07ae06b3c0
!130 kata-containers:update to 3.2.0
From: @Vanient 
Reviewed-by: @flyflyflypeng 
Signed-off-by: @flyflyflypeng
2024-02-20 03:49:02 +00: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
openeuler-ci-bot
2e2098a6cc
!126 [sync] PR-125: kata-containers:update cgroup-rs crate to fix for set_kmem_limit error
From: @openeuler-sync-bot 
Reviewed-by: @duguhaotian 
Signed-off-by: @duguhaotian
2023-09-05 08:14:17 +00: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
openeuler-ci-bot
58f1c0d04c
!118 stratovirt: Append readonly option when get pflash cmdline
From: @kevinzhu1 
Reviewed-by: @Vanient, @duguhaotian, @ooorz, @xinleguo 
Signed-off-by: @duguhaotian
2023-03-06 12:56:43 +00:00
openeuler-ci-bot
8c20c60b8d
!123 [sync] PR-122: kata-containers:make oldconfig to disable unuseable config
From: @openeuler-sync-bot 
Reviewed-by: @flyflyflypeng, @duguhaotian 
Signed-off-by: @duguhaotian
2023-03-06 11:08:16 +00:00
Vanient
16c8c98af2 kata-containers:make oldconfig to disable unuseable config
Signed-off-by: Vanient <xiadanni1@huawei.com>
(cherry picked from commit 3dd2ac8c49e0f92d5c587560cbae6dd160243c67)
2023-03-06 17:00:42 +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
openeuler-ci-bot
164c2b9739
!108 [sync] PR-107: kata:optimize compile options
From: @openeuler-sync-bot 
Reviewed-by: @duguhaotian 
Signed-off-by: @duguhaotian
2022-09-13 02:29:39 +00: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
openeuler-ci-bot
a40fe16a9f
!106 kata-containers:upgrade to 2.x
From: @Vanient 
Reviewed-by: @flyflyflypeng, @duguhaotian 
Signed-off-by: @duguhaotian
2022-09-06 06:50:49 +00:00
Vanient
1508e48937 kata-containers:upgrade to 2.x
Signed-off-by: Vanient <xiadanni1@huawei.com>
2022-09-05 16:08:07 +08:00
openeuler-ci-bot
7ad1289a11
!95 统一spec文件的License名称规范
From: @lauk001 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
2022-06-07 08:52:46 +00:00
lauk
9c9dd601bc License compliance rectification 2022-05-23 11:11:29 +08:00
openeuler-ci-bot
c6b883767a
!94 kata-containers: export GO111MODULE=off in building
From: @holyfei 
Reviewed-by: @duguhaotian 
Signed-off-by: @duguhaotian
2022-04-13 02:19:37 +00:00
holyfei
55f31dcf9d kata-containers: export GO111MODULE=off in building
Signed-off-by: holyfei <yangfeiyu20092010@163.com>
2022-04-13 10:02:01 +08:00
openeuler-ci-bot
25ec45d46d !18 fix CVE-2020-28914
From: @xinghe_1
Reviewed-by: @flyflyflypeng
Signed-off-by: @flyflyflypeng
2021-02-23 09:41:45 +08:00
markeryang
18c0440b6d fix CVE-2020-28914 2021-02-19 16:40:34 +08:00
openeuler-ci-bot
09b1d02abb !15 [bugfix]: fixup that the getPids function returns pid 0
From: @zhangliang5
Reviewed-by: @flyflyflypeng
Signed-off-by: @flyflyflypeng
2021-01-11 12:32:57 +08:00
Ming Yang
9dda20c333 runtime: fixup that the getPids functions returns pid 0
Signed-off-by: LiangZhang <zhangliang5@huawei.com>
2021-01-11 10:54:14 +08:00
openeuler-ci-bot
db6673e075 !4 add support for stratovirt of kata-check cli
From: @zhangliang5
Reviewed-by: @flyflyflypeng
Signed-off-by: @flyflyflypeng
2021-01-07 18:43:45 +08:00
Ming Yang
792f0e555c runtime: add support for stratovirt of kata check cli
Signed-off-by: LiangZhang <zhangliang5@huawei.com>
2021-01-07 15:43:15 +08:00
openeuler-ci-bot
f06ff0ea4e !1 move all kata-containers related source repo into the only one repo
From: @flyflyflypeng
Reviewed-by: 
Signed-off-by:
2021-01-05 19:18:06 +08:00
jiangpengfei
9a08f603ad kata-containers: move all kata related source repo into one repo kata-containers
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>
2020-12-31 17:34:19 +08:00
openeuler-ci-bot
3abadf0cb7 Initial commit 2020-12-19 16:13:50 +08:00