[pve-devel] [PATCH] add virtio-scsi-single scsi controller

Alexandre Derumier aderumier at odiso.com
Wed Jun 3 14:46:20 CEST 2015


Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
 www/manager/Utils.js               | 2 ++
 www/manager/form/ScsiHwSelector.js | 1 +
 2 files changed, 3 insertions(+)

diff --git a/www/manager/Utils.js b/www/manager/Utils.js
index 07cbd4d..a716fc4 100644
--- a/www/manager/Utils.js
+++ b/www/manager/Utils.js
@@ -149,6 +149,8 @@ Ext.define('PVE.Utils', { statics: {
 	    return 'MegaRAID SAS 8708EM2';
 	} else if (value === 'virtio-scsi-pci') {
 	    return 'VIRTIO';
+	} else if (value === 'virtio-scsi-single') {
+	    return 'VIRTIO single';
 	} else if (value === 'pvscsi') {
 	    return 'VMware PVSCSI';
 	} else {
diff --git a/www/manager/form/ScsiHwSelector.js b/www/manager/form/ScsiHwSelector.js
index 0b47d5f..dc868c5 100644
--- a/www/manager/form/ScsiHwSelector.js
+++ b/www/manager/form/ScsiHwSelector.js
@@ -11,6 +11,7 @@ Ext.define('PVE.form.ScsiHwSelector', {
 	    ['lsi53c810', PVE.Utils.render_scsihw('lsi53c810')],
 	    ['megasas', PVE.Utils.render_scsihw('megasas')],
 	    ['virtio-scsi-pci', PVE.Utils.render_scsihw('virtio-scsi-pci')],
+	    ['virtio-scsi-single', PVE.Utils.render_scsihw('virtio-scsi-single')],
 	    ['pvscsi', PVE.Utils.render_scsihw('pvscsi')]
 	];
 
-- 
2.1.4




More information about the pve-devel mailing list