summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--features/vfio/vfio.cfg20
-rw-r--r--features/vfio/vfio.scc4
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 @@
1CONFIG_HAVE_INTEL_TXT=y
2CONFIG_PCI_PASID=y
3CONFIG_VFIO_IOMMU_TYPE1=y
4CONFIG_VFIO_VIRQFD=m
5CONFIG_VFIO=y
6# CONFIG_VFIO_NOIOMMU is not set
7CONFIG_VFIO_PCI=m
8# CONFIG_VFIO_PCI_VGA is not set
9CONFIG_VFIO_PCI_MMAP=y
10CONFIG_VFIO_PCI_INTX=y
11CONFIG_VFIO_PCI_IGD=y
12CONFIG_IOMMU_API=y
13CONFIG_IOMMU_IOVA=y
14CONFIG_DMAR_TABLE=y
15CONFIG_INTEL_IOMMU=y
16CONFIG_INTEL_IOMMU_SVM=y
17CONFIG_INTEL_IOMMU_DEFAULT_ON=y
18CONFIG_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 @@
1define KFEATURE_DESCRIPTION "Enable VFIO"
2define KFEATURE_COMPATIBILITY all
3
4kconf non-hardware vfio.cfg