fix AMD kernel config option stopping VM

This commit is contained in:
Gerg-L 2024-04-05 22:45:31 -04:00
parent 6b15b63699
commit fd87000792
Signed by: gerg-l
SSH key fingerprint: SHA256:FPYDHIkvMocr4wdmZXpgpJjsb2Tw6rASs2ISPbOb0KI

View file

@ -26,7 +26,13 @@ _:
}; };
boot = { boot = {
kernelPatches = lib.singleton {
name = "fix_amd_mem_access";
patch = null;
extraStructuredConfig.HSA_AMD_SVM = lib.kernel.yes;
};
zfs = { zfs = {
package = pkgs.zfs_unstable;
devNodes = "/dev/disk/by-id/"; devNodes = "/dev/disk/by-id/";
forceImportAll = true; forceImportAll = true;
}; };