summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-01-22 21:27:20 -0600
committerJohn Estabrook <jestabro@vyos.io>2024-01-23 10:32:15 -0600
commit256346a66cc3bb20e93c68245ebca2f68f42e7b5 (patch)
treeeb4c7c191a126ecd6c4e9dec1da224c0b60b60fe /interface-definitions
parent1b1569d5b88a20994fc65fd529f8103db371bf3f (diff)
downloadvyos-1x-256346a66cc3bb20e93c68245ebca2f68f42e7b5.tar.gz
vyos-1x-256346a66cc3bb20e93c68245ebca2f68f42e7b5.zip
T5979: add configurable kernel boot option 'disable-mitigations'
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/system_option.xml.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/interface-definitions/system_option.xml.in b/interface-definitions/system_option.xml.in
index adb45bdcc..602d7d100 100644
--- a/interface-definitions/system_option.xml.in
+++ b/interface-definitions/system_option.xml.in
@@ -32,6 +32,19 @@
<constraintErrorMessage>Must be ignore, reboot, or poweroff</constraintErrorMessage>
</properties>
</leafNode>
+ <node name="kernel">
+ <properties>
+ <help>Kernel boot parameters</help>
+ </properties>
+ <children>
+ <leafNode name="disable-mitigations">
+ <properties>
+ <help>Disable all optional CPU mitigations</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
<leafNode name="keyboard-layout">
<properties>
<help>System keyboard layout, type ISO2</help>