mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-02-15 19:44:27 +01:00
The Intel GPU support has been enabled in kata runtime, but the guest kernel of kata container lacks the support of Intel GPU, so this commit enables it as default in guest kernel. CONFIG_DRM, CONFIG_DRM_I915 and CONFIG_DRM_I915_USERPTR are necessary. Others are obtained by running command "make menuconfig" and selecting the following options. Device Drivers ---> Graphics support ---> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) Device Drivers ---> Graphics support ---> Intel 8xx/9xx/G3x/G4x/HD Graphics Fixes #232 Signed-off-by: Zhao Xinda <xinda.zhao@intel.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