diff options
-rw-r--r-- | features/vfio/vfio.cfg | 20 | ||||
-rw-r--r-- | features/vfio/vfio.scc | 4 |
2 files changed, 24 insertions, 0 deletions
diff --git a/features/vfio/vfio.cfg b/features/vfio/vfio.cfg new file mode 100644 index 0000000..f42b937 --- /dev/null +++ b/features/vfio/vfio.cfg | |||
@@ -0,0 +1,20 @@ | |||
1 | CONFIG_HAVE_INTEL_TXT=y | ||
2 | CONFIG_PCI_PASID=y | ||
3 | CONFIG_VFIO_IOMMU_TYPE1=y | ||
4 | CONFIG_VFIO_VIRQFD=m | ||
5 | CONFIG_VFIO=y | ||
6 | # CONFIG_VFIO_NOIOMMU is not set | ||
7 | CONFIG_VFIO_PCI=m | ||
8 | # CONFIG_VFIO_PCI_VGA is not set | ||
9 | CONFIG_VFIO_PCI_MMAP=y | ||
10 | CONFIG_VFIO_PCI_INTX=y | ||
11 | CONFIG_VFIO_PCI_IGD=y | ||
12 | CONFIG_IOMMU_API=y | ||
13 | CONFIG_IOMMU_IOVA=y | ||
14 | CONFIG_DMAR_TABLE=y | ||
15 | CONFIG_INTEL_IOMMU=y | ||
16 | CONFIG_INTEL_IOMMU_SVM=y | ||
17 | CONFIG_INTEL_IOMMU_DEFAULT_ON=y | ||
18 | CONFIG_INTEL_IOMMU_FLOPPY_WA=y | ||
19 | # CONFIG_INTEL_TXT is not set | ||
20 | # CONFIG_KVM_DEVICE_ASSIGNMENT is not set | ||
diff --git a/features/vfio/vfio.scc b/features/vfio/vfio.scc new file mode 100644 index 0000000..c9369cb --- /dev/null +++ b/features/vfio/vfio.scc | |||
@@ -0,0 +1,4 @@ | |||
1 | define KFEATURE_DESCRIPTION "Enable VFIO" | ||
2 | define KFEATURE_COMPATIBILITY all | ||
3 | |||
4 | kconf non-hardware vfio.cfg | ||