mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-02-22 23:14:21 +01:00
Add option '-g' in build-kernel.sh to build a guest kernel that supports Intel/Nvidia GPU Fixes: #979 Signed-off-by: Jimmy Xu <junming.xjm@antfin.com>
15 lines
400 B
Plaintext
15 lines
400 B
Plaintext
# Support mmconfig PCI config space access.
|
|
# It's used to enable the MMIO access method for PCIe devices.
|
|
CONFIG_PCI_MMCONFIG=y
|
|
|
|
# Support for loading modules.
|
|
# It is used to support loading GPU drivers.
|
|
CONFIG_MODULES=y
|
|
CONFIG_MODULE_UNLOAD=y
|
|
|
|
# CRYPTO_FIPS requires this config when loading modules is enabled.
|
|
CONFIG_MODULE_SIG=y
|
|
|
|
# Linux kernel version suffix
|
|
CONFIG_LOCALVERSION="-nvidia-gpu"
|