Windows 11 24H2 WSL2 - wsl: Nested virtualization is not supported on this machine message

AnalogKid

New Member
Oct 1, 2024
5
0
1
Hello, hoping that someone here knows how to fix this. It is not debilitating. It still works, but it is annoying.

I have a Windows 11 24H2 virtual machine machine running on Promox (proxmox-ve: 8.2.0 (running kernel: 6.8.12-2-pve)) that I have configured to also run WSL2.

The machine currently has Ubuntu 22.04 and 24.04 WSL2 OS instances installed. Both instances start and run fine. Everything works except there is this message the first time that I start up a WSL instance:

wsl: Nested virtualization is not supported on this machine

This only happens for the first instance launched. Any additional instances launched do not have this error.

To be clear, this the setup:
Computer Hardware > Proxmox installed directly > Win11 VM running on Proxmox server > WSL2 inside Win11 VM

This is the message that I get the first time the I launch a WSL VM. This is Ubuntu 24.04

1733714261653.png

There is no message for any subsequent WSL VM's launched during the same session.

This is Ubuntu 22.04

1733714369447.png

It does not matter what order they are launched in. Whichever one is launched first get the error message.

Does anyone know how to fix this?

Thanks!
 
Yes, I have enabled the Nested Virtualization as per the Proxmox documentation. I believe that the necessary Proxmox configurations are set correctly and the VM guest CPU is set to host


1734197904390.png

The physical CPU is 16 x AMD Ryzen 7 8845HS w/ Radeon 780M Graphics (1 Socket)

An Internet search says that this CPU does support nested virtalization.

1734197999814.png

Any other thoughts?
 
Hi!

Is there a specific reason that you added -hypervisor to your CPU flags? Does the warning persist if you remove it? If not, does the warning show with all Hyper-V enlightenments removed? Is there any log information in the VM's start task log?
 

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!