Nested Virtualization

seb_taillon

Member
Jul 23, 2021
1
0
6
47
Can u help me please... to resolve this error

When i Start my VM i Receive This

---------------------------------------------------------------------------------------------------------------------------------

kvm: warning: host doesn't support requested feature: CPUID.80000001H:ECX.svm [bit 2]
kvm: warning: host doesn't support requested feature: CPUID.80000001H:ECX.svm [bit 2]
kvm: warning: host doesn't support requested feature: CPUID.80000001H:ECX.svm [bit 2]
kvm: warning: host doesn't support requested feature: CPUID.80000001H:ECX.svm [bit 2]

---------------------------------------------------------------------------------------------------------------------------------

My setup si on OVH Bare Metal Server Dedicated.....

This is my step to enable Nested Virtualization....

--------------------------------------------------------------------------------------------------------------------------------

1: > Login to PVE terminal or via SSH
2: > cat /sys/module/kvm_intel/parameters/nested = N

To enable
1: > echo "options kvm-intel nested=Y" > /etc/modprobe.d/kvm-intel.conf
Then
2: > modprobe -r kvm_intel
modprobe kvm_intel
Check again
3: > cat /sys/module/kvm_intel/parameters/nested = Y
To enable nested virtulizatoin for guest VMs
4: > args: -cpu host,+svm > /etc/pve/qemu-server/ vm.conf

Finish

When i start my vm all is fine so i expected the start command on host in ssh and i receive...

kvm: warning: host doesn't support requested feature: CPUID.80000001H:ECX.svm [bit 2]
kvm: warning: host doesn't support requested feature: CPUID.80000001H:ECX.svm [bit 2]
kvm: warning: host doesn't support requested feature: CPUID.80000001H:ECX.svm [bit 2]
kvm: warning: host doesn't support requested feature: CPUID.80000001H:ECX.svm [bit 2]

I discover this when i would like install WSL2 on my vm....

I choose distro ubuntu 20.04
And ubuntu dont want start !!!
 
A (real or virtual) Intel CPU that supports hardware virtualization has the vmx flag. A (real or virtual) AMD CPU that supports hardware virtualization has the svm flag.
You are enabling kvm_intel, so I assume OVH provides you a (virtual) Intel CPU. Check if it exposes the vmx flag using cat /proc/cpuinfo.
It looks like you give a virtual AMD CPU to your VM, which requires the svm flag, which requires a (virtual) AMD CPU. This mismatch will not work.
 
  • Like
Reactions: Dominic

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!