From 77c28ceb4ed18d80f575fe84ff7c09e2a7933960 Mon Sep 17 00:00:00 2001 From: stitchy Date: Mon, 31 Mar 2025 04:46:03 -0700 Subject: [PATCH] fix(tanzanite): VM crashing under workloads Refer to linked git issue, but the tldr is that AMD gpus have a crashing issue when they are passed to a guest VM in linux host kernels greater than 6.6. --- hosts/malachite/hardware-configuration.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hosts/malachite/hardware-configuration.nix b/hosts/malachite/hardware-configuration.nix index b9202b5..0c23c7f 100644 --- a/hosts/malachite/hardware-configuration.nix +++ b/hosts/malachite/hardware-configuration.nix @@ -10,6 +10,10 @@ boot.kernelModules = [ "kvm-intel" "vfio-pci" ]; boot.extraModulePackages = lib.attrVals [ "rtl8812au" ] config.boot.kernelPackages; + # https://gitlab.com/qemu-project/qemu/-/issues/2574 + # Might bisect or something if I get around to it + boot.kernelPackages = pkgs.linuxPackages_6_6; + boot.kernelParams = [ "loglevel=3" "iommu=pt"