From: Alex Williamson <alex.williamson(a)redhat.com>
redhat/configs: Move IOMMUFD to common
Enable resulting VFIO options
Signed-off-by: Alex Williamson <alex.williamson(a)redhat.com>
diff --git a/redhat/configs/fedora/generic/CONFIG_IOMMUFD
b/redhat/configs/common/generic/CONFIG_IOMMUFD
rename from redhat/configs/fedora/generic/CONFIG_IOMMUFD
rename to redhat/configs/common/generic/CONFIG_IOMMUFD
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/generic/CONFIG_IOMMUFD
+++ b/redhat/configs/common/generic/CONFIG_IOMMUFD
diff --git a/redhat/configs/fedora/generic/CONFIG_IOMMUFD_TEST
b/redhat/configs/common/generic/CONFIG_IOMMUFD_TEST
rename from redhat/configs/fedora/generic/CONFIG_IOMMUFD_TEST
rename to redhat/configs/common/generic/CONFIG_IOMMUFD_TEST
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/generic/CONFIG_IOMMUFD_TEST
+++ b/redhat/configs/common/generic/CONFIG_IOMMUFD_TEST
diff --git a/redhat/configs/common/generic/CONFIG_VFIO_CONTAINER
b/redhat/configs/common/generic/CONFIG_VFIO_CONTAINER
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_VFIO_CONTAINER
@@ -0,0 +1 @@
+CONFIG_VFIO_CONTAINER=y
diff --git a/redhat/configs/common/generic/CONFIG_VFIO_DEVICE_CDEV
b/redhat/configs/common/generic/CONFIG_VFIO_DEVICE_CDEV
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_VFIO_DEVICE_CDEV
@@ -0,0 +1 @@
+CONFIG_VFIO_DEVICE_CDEV=y
diff --git a/redhat/configs/common/generic/CONFIG_VFIO_GROUP
b/redhat/configs/common/generic/CONFIG_VFIO_GROUP
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_VFIO_GROUP
@@ -0,0 +1 @@
+CONFIG_VFIO_GROUP=y
diff --git a/redhat/configs/rhel/generic/CONFIG_IOMMUFD
b/redhat/configs/rhel/generic/CONFIG_IOMMUFD
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/rhel/generic/CONFIG_IOMMUFD
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_IOMMUFD is not set
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2824