mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-26 07:22:20 +00:00
gpu: Add configuration fragment
Adding configuration fragment for the kernel, depending on the TEE kernel update the LOCALVERSION Signed-off-by: Zvonko Kaiser <zkaiser@nvidia.com>
This commit is contained in:
parent
aca6ff7289
commit
87ea43cd4e
14
tools/packaging/kernel/configs/fragments/gpu/nvidia.conf.in
Normal file
14
tools/packaging/kernel/configs/fragments/gpu/nvidia.conf.in
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
# 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${CONF_GUEST_SUFFIX}"
|
Loading…
Reference in New Issue
Block a user