summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfgang Müller2024-09-19 09:55:40 +0200
committerWolfgang Müller2024-09-19 09:55:40 +0200
commitad0017ddae02a15d48ea0d37291d9ecb9e36ab13 (patch)
tree2ba6e9a50f74e33c2f71ca0eed8dc2624179ccd0
parentc08d9b706a19de5b35704170971959382327bc74 (diff)
downloadkernfrag-ad0017ddae02a15d48ea0d37291d9ecb9e36ab13.tar.gz
Simplify handling of KVM-based options
Where before we had a profile/vm fragment that was set on nearly every host we administer, now make sure to enable KVM unconditionally and put CPU-specific KVM options into the CPU profiles.
-rw-r--r--fragments/base/vm (renamed from fragments/profile/vm)2
-rw-r--r--fragments/cpu/amd2
-rw-r--r--fragments/cpu/intel2
-rw-r--r--templates/albatross1
-rw-r--r--templates/base1
-rw-r--r--templates/coleridge1
-rw-r--r--templates/nabokov1
7 files changed, 5 insertions, 5 deletions
diff --git a/fragments/profile/vm b/fragments/base/vm
index bf6bc2d..0bc2760 100644
--- a/fragments/profile/vm
+++ b/fragments/base/vm
@@ -1,6 +1,4 @@
CONFIG_KVM=y
-CONFIG_KVM_INTEL=y
-CONFIG_KVM_AMD=y
CONFIG_VHOST_NET=m
CONFIG_MACVLAN=m
diff --git a/fragments/cpu/amd b/fragments/cpu/amd
index 9b9d035..cd8c7ef 100644
--- a/fragments/cpu/amd
+++ b/fragments/cpu/amd
@@ -9,3 +9,5 @@ CONFIG_SENSORS_FAM15H_POWER=y
CONFIG_EDAC_AMD64=y
CONFIG_AMD_IOMMU=y
+
+CONFIG_KVM_AMD=y
diff --git a/fragments/cpu/intel b/fragments/cpu/intel
index c64743e..7aab257 100644
--- a/fragments/cpu/intel
+++ b/fragments/cpu/intel
@@ -5,3 +5,5 @@ CONFIG_MCORE2=y
CONFIG_X86_INTEL_TSX_MODE_ON=y
CONFIG_SENSORS_CORETEMP=y
+
+CONFIG_KVM_INTEL=y
diff --git a/templates/albatross b/templates/albatross
index 2a218cf..f3b9032 100644
--- a/templates/albatross
+++ b/templates/albatross
@@ -16,5 +16,4 @@ hosts/albatross
net/bluetooth
profile/desktop
profile/systemd
-profile/vm
security/tpm
diff --git a/templates/base b/templates/base
index 6527d4f..5169a1b 100644
--- a/templates/base
+++ b/templates/base
@@ -5,6 +5,7 @@ base/modules
base/net
base/security
base/tasks
+base/vm
drivers/i2c
drivers/pci
drivers/sata
diff --git a/templates/coleridge b/templates/coleridge
index 3261442..d6b7c06 100644
--- a/templates/coleridge
+++ b/templates/coleridge
@@ -4,5 +4,4 @@ devices/net/r8169
drivers/raid
hosts/coleridge
profile/server
-profile/vm
security/audit
diff --git a/templates/nabokov b/templates/nabokov
index f35afd1..3f10cd5 100644
--- a/templates/nabokov
+++ b/templates/nabokov
@@ -12,4 +12,3 @@ hosts/nabokov
net/bluetooth
profile/desktop
profile/systemd
-profile/vm