about summary refs log tree commit diff
path: root/pkgs/os-specific
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2023-02-28 12:07:26 +0100
committerGitHub <noreply@github.com>2023-02-28 12:07:26 +0100
commitd2c50b4382cc5a2045f0e2c3c56e994476577b80 (patch)
tree223eb286cff7cf14e1c090fb42e2db4a6e12df67 /pkgs/os-specific
parent6e6c1054d1e0f45123963189b455dddf4992f7c4 (diff)
parent8f7e647c3032cf7536c2df117655b08b035f6bfe (diff)
Merge pull request #218694 from astro/kernel-virtio-mmio
linux: enable VIRTIO_MMIO_CMDLINE_DEVICES
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r--pkgs/os-specific/linux/kernel/common-config.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix
index b03e8e76715b7..bbd743b4dfc2c 100644
--- a/pkgs/os-specific/linux/kernel/common-config.nix
+++ b/pkgs/os-specific/linux/kernel/common-config.nix
@@ -642,6 +642,9 @@ let
       XEN_SAVE_RESTORE            = option yes;
       XEN_SCRUB_PAGES             = whenOlder "4.19" yes;
       XEN_SELFBALLOONING          = whenOlder "5.3" yes;
+
+      # Enable device detection on virtio-mmio hypervisors
+      VIRTIO_MMIO_CMDLINE_DEVICES = yes;
     };
 
     media = {