Problems with nested virtualization on Proxmox 8

jagson

Member
Dec 27, 2020
5
0
6
44
Hello everyone,

I have some small problems with my Proxmox machine since upgrading to v8. The whole upgrade went smoothly without any problems and everything Linux related seems to be running great, but not my Windows 11 VMs. Whenever I start one, I get following dmesg errors for all assigned CPU cores in dmesg:

SVM: kvm [807004]: vcpu0, guest rIP: 0xfffff83488f6cae9 unimplemented wrmsr: 0xc0010115 data 0x0

VMs start and PCIe passthrough is still working but performance is extremely poor. My host has nested virtualization enabled on my Ryzen 2700X and both VMs have all Windows virtualization features required for WSL2 enabled.

The first VM has 8 host-cores with passed through GTX970 and NVMe SSD and the second one has 4 host-cores with its own 1050ti and a SATA-SSD.

What I tried so far was disabling hugepages, going back to q35-7.2 and trying out kernel 6.1 but without success.
 
Sometimes I find it better to start VM's up using 'qm' when troubleshooting, the same errors dont always appear in syslog.
 
"qm start 3201" is only giving me an "swtpm_setup: Not overwriting existing state file."
 
It was working perfectly on the 5.x kernel.

cat /etc/modprobe.d/kvm-amd.conf returns options kvm-amd nested=1

cat /sys/module/kvm_amd/parameters/nested returns 1
 
There are dozens of us. I'm having this problem too, but even worse. I can't even get my VMs to boot using cpu host mode and I get the unimplemented wrmsr error in my logs.
 

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!