From e4cb80cc99cc30fc05f8a361e00e6b3d82b720be Mon Sep 17 00:00:00 2001 From: Emmanuel Kasper Date: Wed, 17 Jun 2015 14:25:12 +0200 Subject: [PATCH] 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); --- 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 e26cbe41..ffca0b05 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;