Signed-off-by: Thomas Lamprecht <t.lampre...@proxmox.com> CC: Nils <gismo3...@gmail.com> --- www/manager6/qemu/CreateWizard.js | 2 +- www/manager6/qemu/HDEdit.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/www/manager6/qemu/CreateWizard.js b/www/manager6/qemu/CreateWizard.js index aab78479..698ef146 100644 --- a/www/manager6/qemu/CreateWizard.js +++ b/www/manager6/qemu/CreateWizard.js @@ -164,7 +164,7 @@ Ext.define('PVE.qemu.CreateWizard', { var nodename = kv.nodename; delete kv.nodename; - if (me.qemuScsiController) { + if (me.qemuScsiController && !kv.scsihw) { kv.scsihw = me.qemuScsiController; } diff --git a/www/manager6/qemu/HDEdit.js b/www/manager6/qemu/HDEdit.js index 8384083e..6b19b7a5 100644 --- a/www/manager6/qemu/HDEdit.js +++ b/www/manager6/qemu/HDEdit.js @@ -69,6 +69,7 @@ Ext.define('PVE.qemu.HDInputPanel', { onGetValues: function(values) { var me = this; + var params = {}; var confid = me.confid || (values.controller + values.deviceid); if (me.unused) { @@ -103,6 +104,7 @@ Ext.define('PVE.qemu.HDInputPanel', { if (values.iothread && confid.match(/^(virtio|scsi)\d+$/)) { me.drive.iothread = 'on'; + params.scsihw = 'virtio-scsi-single'; } else { delete me.drive.iothread; } @@ -113,8 +115,6 @@ Ext.define('PVE.qemu.HDInputPanel', { delete me.drive.cache; } - var params = {}; - params[confid] = PVE.Parser.printQemuDrive(me.drive); return params; -- 2.11.0 _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel