mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-30 12:34:22 +01:00
After upgrading the kernel to latest 4.14.x kernel, there are new kconfig options that need users to select in install-kata-kernel.sh. the prompt will block the script. We update this config file to give user a good defined default config. The new kconfig options are about, “Meltdown” and “Spectre”. So I selected them to yes by default in this config file: CONFIG_ARM64_ERRATUM_1024718=y CONFIG_QCOM_FALKOR_ERRATUM_E1041=y CONFIG_UNMAP_KERNEL_AT_EL0=y CONFIG_HARDEN_BRANCH_PREDICTOR=y CONFIG_ARM64_SSBD=y Fixed #106 Signed-off-by: Wei Chen <wei.chen@arm.com> Signed-off-by: Penny Zheng <penny.zheng@arm.com>
How to use config files
config files must be copied in the kernel source code directory and renamed to .config
For example:
cp x86_kata_kvm_4.14.x linux-4.14.22/.config
pushd linux-4.14.22
make ARCH=x86_64 -j4
How to modify config files
cp x86_kata_kvm_4.14.x linux-4.14.22/.config
pushd linux-4.14.22
make menuconfig
popd
cp linux-4.14.22/.config x86_kata_kvm_4.14.x