Do not use the noVirtIO property to build the controller list

This property is only used for CDEdit, so we can deduce this from
the fact that autoselect is set to 'cdrom'

Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Emmanuel Kasper 2017-10-02 10:37:33 +02:00 committed by Wolfgang Bumiller
parent 0e09929dfe
commit 5034f7833c

View File

@ -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();