From fd87000792bb0067e0cb96850f35dabf4cea6336 Mon Sep 17 00:00:00 2001 From: Gerg-L Date: Fri, 5 Apr 2024 22:45:31 -0400 Subject: [PATCH] fix AMD kernel config option stopping VM --- hosts/gerg-desktop/zfs.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hosts/gerg-desktop/zfs.nix b/hosts/gerg-desktop/zfs.nix index 2e96641..c5de70a 100644 --- a/hosts/gerg-desktop/zfs.nix +++ b/hosts/gerg-desktop/zfs.nix @@ -26,7 +26,13 @@ _: }; boot = { + kernelPatches = lib.singleton { + name = "fix_amd_mem_access"; + patch = null; + extraStructuredConfig.HSA_AMD_SVM = lib.kernel.yes; + }; zfs = { + package = pkgs.zfs_unstable; devNodes = "/dev/disk/by-id/"; forceImportAll = true; };