The variable to use to check the disk type is confid, as set in line 16 with: var confid = me.confid || (values.controller + values.deviceid); --- www/manager/qemu/HDEdit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www/manager/qemu/HDEdit.js b/www/manager/qemu/HDEdit.js index e26cbe4..ffca0b0 100644 --- a/www/manager/qemu/HDEdit.js +++ b/www/manager/qemu/HDEdit.js @@ -39,7 +39,7 @@ Ext.define('PVE.qemu.HDInputPanel', { delete me.drive.discard; } - if (values.iothread && me.confid.match(/^virtio\d+$/)) { + if (values.iothread && confid.match(/^virtio\d+$/)) { me.drive.iothread = 'on'; } else { delete me.drive.iothread; -- 2.1.4 _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel