AMD-CPU Unofficial Tweaks
Note:
You can use the following tweaks to run vJunos-switch VM on x86 based AMD CPUs. Juniper engineering has not tested vJunos-switch with non-Intel CPUs. Try these in official tweaks with no guaranteed success.
AMD CPU EVE-NG (raw Qemu) tweaks for vJunos-switch VM in
*.yaml-file qemu_options:
-smbios type=1,product=VM-VEX -cpu IvyBridge,ibpb=on,spec-ctrl=on,ssbd=on,virt-ssbd=on,svm=on,erms=off
AMD CPU KVM virt-install CLI tweaks for vJunos-switch VM.
--sysinfo smbios,system.product=VM-VEX --cpu IvyBridge,require=svm,disable=erms
AMD CPU KVM virt-manager GUI XML tweaks for vJunos-switch VM.
<sysinfo type='smbios'>
<system>
<entry name='product'>VM-VEX</entry>
</system>
</sysinfo>
<os>
<type arch='x86_64' machine='pc-i440fx-focal'>hvm</type>
<boot dev='hd'/>
<smbios mode='sysinfo'/>
</os>
<cpu mode='custom' match='exact' check='full'>
<model fallback='forbid'>IvyBridge</model>
<feature policy='require' name='ibpb'/>
<feature policy='require' name='spec-ctrl'/>
<feature policy='require' name='ssbd'/>
<feature policy='require' name='virt-ssbd'/>
<feature policy='require' name='svm'/>
<feature policy='disable' name='erms'/>
<feature policy='require' name='hypervisor'/>
<feature policy='require' name='arat'/>
<feature policy='require' name='xsaveopt'/>
</cpu>