mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-02-20 22:14:45 +01:00
kernel: Upgrade guest kernel support to 5.19.2 Let's update to the latest 5.19.x released kernel. CONFIG modifications necessary: fragments/common/dax.conf - CONFIG_DEV_PAGEMAP_OPS no longer configurable: https://www.kernelconfig.io/CONFIG_DEV_PAGEMAP_OPS?q=CONFIG_DEV_PAGEMAP_OPS&kernelversion=5.19.2 fragments/common/dax.conf - CONFIG_ND_BLK no longer supported: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=f8669f1d6a86a6b17104ceca9340ded280307ac1 fragments/x86_64/base.conf - CONFIG_SPECULATION_MITIGATIONS is a dependency for CONFIG_RETPOLINE: https://www.kernelconfig.io/config_retpoline?q=&kernelversion=5.19.2 fragments/s390/network.conf - removed from kernel since 5.9.9: https://www.kernelconfig.io/CONFIG_PACK_STACK?q=CONFIG_PACK_STACK&kernelversion=5.19.2 Updated vmlinux path in build-kernel.sh for arch s390 Fixes #4860 Signed-Off-By: Ryan Savino <ryan.savino@amd.com>
28 lines
554 B
Plaintext
28 lines
554 B
Plaintext
CONFIG_X86=y
|
|
CONFIG_X86_CPUID=y
|
|
CONFIG_X86_MSR=y
|
|
CONFIG_X86_X2APIC=y
|
|
CONFIG_X86_VERBOSE_BOOTUP=y
|
|
|
|
# Configs around linux guest support and optimizations.
|
|
CONFIG_HYPERVISOR_GUEST=y
|
|
CONFIG_KVM_GUEST=y
|
|
|
|
CONFIG_PARAVIRT=y
|
|
|
|
# Use the maximum number of CPUs supported by KVM (240)
|
|
CONFIG_NR_CPUS=240
|
|
|
|
# For security
|
|
CONFIG_LEGACY_VSYSCALL_NONE=y
|
|
CONFIG_SPECULATION_MITIGATIONS=y
|
|
CONFIG_RETPOLINE=y
|
|
|
|
# Boot directly into the uncompressed kernel
|
|
# Reduce memory footprint
|
|
CONFIG_PVH=y
|
|
|
|
CONFIG_NO_HZ_FULL=y
|
|
CONFIG_GENERIC_MSI_IRQ_DOMAIN=y
|
|
CONFIG_RANDOMIZE_BASE=y
|