mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-05-02 13:44:33 +00:00
tools/packaging: Add options for VFIO to guest kernel
Pull #2795 recently added support for a closer-to-OCI behaviour for VFIO devices, in which they appear to the container as VFIO devices, rather than being interpreted by the guest kernel. However, in order to use this, the Kata guest kernel needs to include the VFIO PCI driver, along with dependencies like the Intel IOMMU driver. The kernel as built by the scripts within Kata don't currently include those, so this patch adds them. fixes #2913 Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
b85edbfa00
commit
bdf4824145
@ -0,0 +1,5 @@
|
||||
# Options we need in order to handle vfio_mode=vfio devices
|
||||
|
||||
CONFIG_IOMMU_SUPPORT=y
|
||||
CONFIG_VFIO=y
|
||||
CONFIG_VFIO_PCI=y
|
@ -0,0 +1,3 @@
|
||||
# x86 specific items we need in order to handle vfio_mode=vfio devices
|
||||
CONFIG_INTEL_IOMMU=y
|
||||
CONFIG_IRQ_REMAP=y
|
@ -1 +1 @@
|
||||
86
|
||||
87
|
||||
|
Loading…
Reference in New Issue
Block a user