From: Syed Johan Arif Bin Syed Mohamad Fauzi <syed.johan.arif.syed.mohamad.fa...@intel.com>
When added, this feature enables VFIO(Virtual Function I/O) This feature helps support virtualization. Signed-off-by: Syed Johan Arif Bin Syed Mohamad Fauzi <syed.johan.arif.syed.mohamad.fa...@intel.com> --- features/vfio/vfio.cfg | 9 +++++++++ features/vfio/vfio.scc | 3 +++ 2 files changed, 12 insertions(+) create mode 100644 features/vfio/vfio.cfg create mode 100644 features/vfio/vfio.scc diff --git a/features/vfio/vfio.cfg b/features/vfio/vfio.cfg new file mode 100644 index 0000000..1d28231 --- /dev/null +++ b/features/vfio/vfio.cfg @@ -0,0 +1,9 @@ +CONFIG_VFIO_IOMMU_TYPE1=m +CONFIG_VFIO_VIRQFD=m +CONFIG_VFIO=m +CONFIG_VFIO_PCI=m +CONFIG_VFIO_PCI_VGA=y +CONFIG_VFIO_PCI_MMAP=y +CONFIG_VFIO_PCI_INTX=y +CONFIG_VIRT_DRIVERS=y +CONFIG_KVM_DEVICE_ASSIGNMENT=y diff --git a/features/vfio/vfio.scc b/features/vfio/vfio.scc new file mode 100644 index 0000000..9929e19 --- /dev/null +++ b/features/vfio/vfio.scc @@ -0,0 +1,3 @@ +define KFEATURE_DESCRIPTION "Enable VFIO support" + +kconf hardware vfio.cfg -- 1.9.1 -- _______________________________________________ linux-yocto mailing list linux-yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/linux-yocto