[pve-devel] [RFC pve-manager] Rename the SCSI VirtIO controller to better differenciate from VirtIO blk

Emmanuel Kasper e.kasper at proxmox.com
Wed Jun 8 11:24:05 CEST 2016


Also fix casing to match VirtIO as displayed in Network Panel
---
 www/manager6/Utils.js                | 4 +++-
 www/manager6/form/BusTypeSelector.js | 2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/www/manager6/Utils.js b/www/manager6/Utils.js
index 24536e6..36c551c 100644
--- a/www/manager6/Utils.js
+++ b/www/manager6/Utils.js
@@ -172,7 +172,9 @@ Ext.define('PVE.Utils', { statics: {
 	} else if (value === 'megasas') {
 	    return 'MegaRAID SAS 8708EM2';
 	} else if (value === 'virtio-scsi-pci') {
-	    return 'VIRTIO';
+	    return 'VirtIO SCSI';
+	} else if (value === 'virtio-scsi-single') {
+	    return 'VirtIO SCSI single';
 	} else if (value === 'pvscsi') {
 	    return 'VMware PVSCSI';
 	} else {
diff --git a/www/manager6/form/BusTypeSelector.js b/www/manager6/form/BusTypeSelector.js
index acb8f74..641eda8 100644
--- a/www/manager6/form/BusTypeSelector.js
+++ b/www/manager6/form/BusTypeSelector.js
@@ -12,7 +12,7 @@ Ext.define('PVE.form.BusTypeSelector', {
 	me.comboItems = [['ide', 'IDE'], ['sata', 'SATA']];
 
 	if (!me.noVirtIO) {
-	    me.comboItems.push(['virtio', 'VIRTIO']);
+	    me.comboItems.push(['virtio', 'VirtIO']);
 	}
 
 	if (!me.noScsi) {
-- 
2.1.4





More information about the pve-devel mailing list