[pve-devel] [PATCH pve-manager] add 'ssbd', 'ibpb', 'virt-ssbd', 'amd-ssbd', 'amd-no-ssb' cpu flags option

Alexandre Derumier aderumier at odiso.com
Sun Sep 2 07:54:16 CEST 2018


---
 www/manager6/qemu/ProcessorEdit.js | 42 +++++++++++++++++++++++++++++++++-----
 1 file changed, 37 insertions(+), 5 deletions(-)

diff --git a/www/manager6/qemu/ProcessorEdit.js b/www/manager6/qemu/ProcessorEdit.js
index 3ecea205..eaec0773 100644
--- a/www/manager6/qemu/ProcessorEdit.js
+++ b/www/manager6/qemu/ProcessorEdit.js
@@ -44,7 +44,7 @@ Ext.define('PVE.qemu.ProcessorInputPanel', {
 
 	var flags = [];
 
-	['pcid', 'spec-ctrl'].forEach(function(flag) {
+	['pcid', 'spec-ctrl', 'ssbd', 'ibpb', 'virt-ssbd', 'amd-ssbd', 'amd-no-ssb'].forEach(function(flag) {
 	    if (values[flag]) {
 		flags.push('+' + flag.toString());
 	    }
@@ -150,7 +150,26 @@ Ext.define('PVE.qemu.ProcessorInputPanel', {
 	    value: '1024',
 	    deleteEmpty: true,
 	    allowBlank: true
+	},
+	{
+	    xtype: 'proxmoxcheckbox',
+	    fieldLabel: 'PCID',
+	    name: 'pcid',
+	    uncheckedValue: 0
+	},
+	{
+	    xtype: 'proxmoxcheckbox',
+	    fieldLabel: 'SPEC-CTRL',
+	    name: 'spec-ctrl',
+	    uncheckedValue: 0
+	},
+	{
+	    xtype: 'proxmoxcheckbox',
+	    fieldLabel: 'SSBD',
+	    name: 'ssbd',
+	    uncheckedValue: 0
 	}
+
     ],
 
     advancedColumn2: [
@@ -162,16 +181,29 @@ Ext.define('PVE.qemu.ProcessorInputPanel', {
 	},
 	{
 	    xtype: 'proxmoxcheckbox',
-	    fieldLabel: 'PCID',
-	    name: 'pcid',
+	    fieldLabel: 'IBPB',
+	    name: 'ibpb',
 	    uncheckedValue: 0
 	},
 	{
 	    xtype: 'proxmoxcheckbox',
-	    fieldLabel: 'SPEC-CTRL',
-	    name: 'spec-ctrl',
+	    fieldLabel: 'VIRT-SSBD',
+	    name: 'virt-ssbd',
+	    uncheckedValue: 0
+	},
+	{
+	    xtype: 'proxmoxcheckbox',
+	    fieldLabel: 'AMD-SSBD',
+	    name: 'amd-ssbd',
+	    uncheckedValue: 0
+	},
+	{
+	    xtype: 'proxmoxcheckbox',
+	    fieldLabel: 'AMD-NO-SSB',
+	    name: 'amd-no-ssb',
 	    uncheckedValue: 0
 	}
+
     ]
 });
 
-- 
2.11.0




More information about the pve-devel mailing list