kernel: Disable VirtualBox guest modules.

These break the modules from VirtualBox additions. Fixes issue https://github.com/NixOS/nixpkgs/issues/58127.
This commit is contained in:
Ambroz Bizjak 2019-05-04 21:13:26 +02:00
parent 74bc006bbb
commit c6934f347a

View file

@ -426,6 +426,12 @@ let
VFIO_PCI_VGA = mkIf stdenv.is64bit yes;
# VirtualBox guest drivers in the kernel conflict with the ones in the
# official additions package and prevent the vboxsf module from loading,
# so disable them for now.
VBOXGUEST = option no;
DRM_VBOXVIDEO = option no;
} // optionalAttrs (stdenv.isx86_64 || stdenv.isi686) ({
XEN = option yes;