From c6934f347a891dacfacdfe96994ff4cc5e63a1f8 Mon Sep 17 00:00:00 2001 From: Ambroz Bizjak Date: Sat, 4 May 2019 21:13:26 +0200 Subject: [PATCH] kernel: Disable VirtualBox guest modules. These break the modules from VirtualBox additions. Fixes issue https://github.com/NixOS/nixpkgs/issues/58127. --- pkgs/os-specific/linux/kernel/common-config.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index 5711e019f95..58a2429d47c 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -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;