How to crash the server playing with VM CPU configuration... is it normal?

mmenaz

Renowned Member
Jun 25, 2009
835
25
93
Northern east Italy
Hi, I've a vm (Kubuntu 19.04) that I use to test Freecad and that I turn on when needed. I've no need of "mitigations" about CPU flaws or whatever, I just need more performance I can.
In the vm I've disabled all CPU flags (-md-clear;-pcid;-spec-ctrl;-ssbd;-ibpb;-virt-ssbd;-amd-ssbd;-amd-no-ssb), and my home server has AMD cpu FX-6300 Six-Core Processor, pve no-subscription 6.1-5/9bf06119 (running kernel: 5.3.13-1-pve).
So far so good. To have even more power in the VM I've had the idea to change the CPU type from 'kvm64' to 'host'.
Then I've turned on the VM, everything went fine to the login then THE PROXMOX SERVER crashed and rebooted!
I would love to know if is a bug, if I've done something wrong, or what else. I've no tried again since then, has not been a peasant experience.
 
Setting the CPU type to host exposes *all* features to the VM. This can cause instability, although a full crash is still not good ofc.

Try setting up kdump to get a dmesg log when it crashes the next time.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!