mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-28 00:07:16 +00:00
kernel: add CONFIG_X86_SGX into whitelist
CONFIG_X86_SGX is introduced after kernel 5.11, and that config is a default x86_64 config for Kata build-kernel.sh script. But if we use -v to specify any kernel version below 5.11 will cause an inevitable error because CONFIG_X86_SGX is not supported in older kernels and that may cause problem for the situation if we need kernel version below 5.11. So I propose to put CONFIG_X86_SGX into whitelist.conf to avoid break building guest kernel below 5.11. fixes: #5741 Signed-off-by: Chao Wu <chaowu@linux.alibaba.com>
This commit is contained in:
parent
9bde32daa1
commit
cb199e0ecf
@ -14,3 +14,4 @@ CONFIG_MANDATORY_FILE_LOCKING
|
||||
CONFIG_ARM64_UAO
|
||||
CONFIG_VFIO_MDEV_DEVICE
|
||||
CONFIG_SPECULATION_MITIGATIONS
|
||||
CONFIG_X86_SGX
|
||||
|
Loading…
Reference in New Issue
Block a user