qemu: processor : set x86-64-v2-AES as default cputype for create wizard

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
This commit is contained in:
Alexandre Derumier 2023-06-08 11:51:06 +02:00 committed by Fiona Ebner
parent 12f7c578f7
commit 4ab9632867
2 changed files with 2 additions and 0 deletions

View File

@ -43,6 +43,7 @@ Ext.define('PVE.qemu.OSDefaults', {
virtio: 1, virtio: 1,
}, },
scsihw: 'virtio-scsi-single', scsihw: 'virtio-scsi-single',
cputype: 'x86-64-v2-AES',
}; };
// virtio-net is in kernel since 2.6.25 // virtio-net is in kernel since 2.6.25

View File

@ -27,6 +27,7 @@ Ext.define('PVE.qemu.OSTypeInputPanel', {
me.setWidget('pveBusSelector', targetValues.busType); me.setWidget('pveBusSelector', targetValues.busType);
me.setWidget('pveNetworkCardSelector', targetValues.networkCard); me.setWidget('pveNetworkCardSelector', targetValues.networkCard);
me.setWidget('CPUModelSelector', targetValues.cputype);
var scsihw = targetValues.scsihw || '__default__'; var scsihw = targetValues.scsihw || '__default__';
this.getViewModel().set('current.scsihw', scsihw); this.getViewModel().set('current.scsihw', scsihw);
this.getViewModel().set('current.ostype', ostype); this.getViewModel().set('current.ostype', ostype);