diff options
| author | Raghuram Subramani <raghus2247@gmail.com> | 2024-06-02 09:43:20 +0530 |
|---|---|---|
| committer | Raghuram Subramani <raghus2247@gmail.com> | 2024-06-02 09:43:20 +0530 |
| commit | 4050ba0a89a3a97b29d4f281b7570495cf5596d9 (patch) | |
| tree | f0473e4a555db3b2ea1f8fa8b474c196fd3b72db /modules/virtualization.nix | |
| parent | 74c3f173fb766190c6cef3cb93ebc88f596249fc (diff) | |
update
Diffstat (limited to '')
| -rw-r--r-- | modules/virtualization.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/virtualization.nix b/modules/virtualization.nix index e0d9b88..caf9046 100644 --- a/modules/virtualization.nix +++ b/modules/virtualization.nix @@ -71,4 +71,19 @@ systemctl set-property --runtime -- init.scope AllowedCPUs="" '') ]; + + boot.kernelPatches = [ + { + # https://github.com/Kinsteen/win10-gpu-passthrough/blob/main/pat_patch.diff + name = "disable-pat-check"; + patch = ../dist/disable-pat-check.patch; + } + { + # https://aur.archlinux.org/cgit/aur.git/tree/1001-6.8.0-add-acs-overrides.patch?h=linux-vfio + name = "acso"; + patch = ../dist/acso.patch; + } + ]; + + boot.kernelParams = [ "skippatcheck" "pcie_acs_override=downstream,multifunction" ]; } |
