Commit b508be03 authored by Emmanuel Kasper's avatar Emmanuel Kasper Committed by Dietmar Maurer

Fix qemu create wizard when iothread is set

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);
parent 1fc96439
...@@ -39,7 +39,7 @@ Ext.define('PVE.qemu.HDInputPanel', { ...@@ -39,7 +39,7 @@ Ext.define('PVE.qemu.HDInputPanel', {
delete me.drive.discard; delete me.drive.discard;
} }
if (values.iothread && me.confid.match(/^virtio\d+$/)) { if (values.iothread && confid.match(/^virtio\d+$/)) {
me.drive.iothread = 'on'; me.drive.iothread = 'on';
} else { } else {
delete me.drive.iothread; delete me.drive.iothread;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment