From 7796e161c875fd8ed16e8bd86f343d665de0d9b9 Mon Sep 17 00:00:00 2001 From: Tommy Date: Wed, 6 Dec 2023 13:56:57 -0700 Subject: [PATCH] IOMMU Fix Signed-off-by: Tommy --- Docker-Compose.ign | 6 ++++-- Docker-Compose.yml | 6 ++++-- Generic.ign | 6 ++++-- Generic.yml | 6 ++++-- UTM.ign | 6 ++++-- UTM.yml | 6 ++++-- 6 files changed, 24 insertions(+), 12 deletions(-) diff --git a/Docker-Compose.ign b/Docker-Compose.ign index 09afebc..6f69ef5 100644 --- a/Docker-Compose.ign +++ b/Docker-Compose.ign @@ -17,8 +17,10 @@ "random.trust_bootloader=off", "random.trust_cpu=off", "intel_iommu=on", - "amd_iommu=on", - "iommu.passthrough=0 iommu.strict=1", + "amd_iommu=force_isolation", + "iommu=force", + "iommu.passthrough=0", + "iommu.strict=1", "slab_nomerge", "init_on_alloc=1", "init_on_free=1", diff --git a/Docker-Compose.yml b/Docker-Compose.yml index 212fa6f..c977251 100644 --- a/Docker-Compose.yml +++ b/Docker-Compose.yml @@ -336,8 +336,10 @@ kernel_arguments: - random.trust_bootloader=off - random.trust_cpu=off - intel_iommu=on - - amd_iommu=on - - iommu.passthrough=0 iommu.strict=1 + - amd_iommu=force_isolation + - iommu=force + - iommu.passthrough=0 + - iommu.strict=1 - slab_nomerge - init_on_alloc=1 - init_on_free=1 diff --git a/Generic.ign b/Generic.ign index d5eb41d..490f879 100644 --- a/Generic.ign +++ b/Generic.ign @@ -17,8 +17,10 @@ "random.trust_bootloader=off", "random.trust_cpu=off", "intel_iommu=on", - "amd_iommu=on", - "iommu.passthrough=0 iommu.strict=1", + "amd_iommu=force_isolation", + "iommu=force", + "iommu.passthrough=0", + "iommu.strict=1", "slab_nomerge", "init_on_alloc=1", "init_on_free=1", diff --git a/Generic.yml b/Generic.yml index f77342b..241de11 100644 --- a/Generic.yml +++ b/Generic.yml @@ -334,8 +334,10 @@ kernel_arguments: - random.trust_bootloader=off - random.trust_cpu=off - intel_iommu=on - - amd_iommu=on - - iommu.passthrough=0 iommu.strict=1 + - amd_iommu=force_isolation + - iommu=force + - iommu.passthrough=0 + - iommu.strict=1 - slab_nomerge - init_on_alloc=1 - init_on_free=1 diff --git a/UTM.ign b/UTM.ign index d8b1111..4f68419 100644 --- a/UTM.ign +++ b/UTM.ign @@ -17,8 +17,10 @@ "random.trust_bootloader=off", "random.trust_cpu=off", "intel_iommu=on", - "amd_iommu=on", - "iommu.passthrough=0 iommu.strict=1", + "amd_iommu=force_isolation", + "iommu=force", + "iommu.passthrough=0", + "iommu.strict=1", "slab_nomerge", "init_on_alloc=1", "init_on_free=1", diff --git a/UTM.yml b/UTM.yml index c6b4232..99b6344 100644 --- a/UTM.yml +++ b/UTM.yml @@ -228,8 +228,10 @@ kernel_arguments: - random.trust_bootloader=off - random.trust_cpu=off - intel_iommu=on - - amd_iommu=on - - iommu.passthrough=0 iommu.strict=1 + - amd_iommu=force_isolation + - iommu=force + - iommu.passthrough=0 + - iommu.strict=1 - slab_nomerge - init_on_alloc=1 - init_on_free=1