From 8f7e647c3032cf7536c2df117655b08b035f6bfe Mon Sep 17 00:00:00 2001 From: Astro Date: Mon, 27 Feb 2023 22:39:23 +0100 Subject: [PATCH] linux: enable VIRTIO_MMIO_CMDLINE_DEVICES --- pkgs/os-specific/linux/kernel/common-config.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index b03e8e76715b..bbd743b4dfc2 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 = {