[pve-devel] [PATCH manager v4 4/8] Do not use the noVirtIO property to build the controller list

Emmanuel Kasper e.kasper at proxmox.com
Mon Oct 2 10:37:33 CEST 2017


This property is only used for CDEdit, so we can deduce this from
the fact that autoselect is set to 'cdrom'
---
 www/manager6/form/ControllerSelector.js | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/www/manager6/form/ControllerSelector.js b/www/manager6/form/ControllerSelector.js
index 15023a7a..1d1ca556 100644
--- a/www/manager6/form/ControllerSelector.js
+++ b/www/manager6/form/ControllerSelector.js
@@ -76,9 +76,6 @@ Ext.define('PVE.form.ControllerSelector', {
 
 	Ext.Array.each(clist, function(controller) {
 	    var confid, i;
-	    if (controller === 'virtio' && me.noVirtIO) {
-		return; //continue
-	    }
 	    bussel.setValue(controller);
 	    for (i = 0; i <= PVE.form.ControllerSelector.maxIds[controller]; i++) {
 		confid = controller + i.toString();
-- 
2.11.0




More information about the pve-devel mailing list