linux kernel: set VFIO_PCI_VGA to `y` for versions > 3.9
This allows to passthrough PCI video adapters to KVM virtual machines. VFIO_PCI is set to `m` by default, which means this will not affect non-users.
This commit is contained in:
parent
e7d4d39c6e
commit
774486a149
|
@ -326,6 +326,11 @@ with stdenv.lib;
|
||||||
''}
|
''}
|
||||||
VIRT_DRIVERS y
|
VIRT_DRIVERS y
|
||||||
|
|
||||||
|
# Device virtualisation.
|
||||||
|
${optionalString (versionAtLeast version "3.9") ''
|
||||||
|
VFIO_PCI_VGA? y
|
||||||
|
''}
|
||||||
|
|
||||||
# Media support.
|
# Media support.
|
||||||
${optionalString (versionAtLeast version "3.6") ''
|
${optionalString (versionAtLeast version "3.6") ''
|
||||||
MEDIA_DIGITAL_TV_SUPPORT y
|
MEDIA_DIGITAL_TV_SUPPORT y
|
||||||
|
|
Loading…
Reference in New Issue