linux/common-config: only enable VFIO opts for 6.6 and later
For older kernels (<=6.1) I get
error: unused option: VFIO_DEVICE_CDEV
while building `linux-config`.
This commit is contained in:
@@ -1003,8 +1003,8 @@ let
|
||||
|
||||
# Enable CDEV and NOIOMMU support for VFIO, which is useful for
|
||||
# passthrough.
|
||||
VFIO_DEVICE_CDEV = yes;
|
||||
VFIO_NOIOMMU = yes;
|
||||
VFIO_DEVICE_CDEV = whenAtLeast "6.6" yes;
|
||||
VFIO_NOIOMMU = whenAtLeast "6.6" yes;
|
||||
};
|
||||
|
||||
media = {
|
||||
|
||||
Reference in New Issue
Block a user