Windows virtulisation

MrHumpty

Renowned Member
Jul 26, 2014
10
1
68
Sussex Coast. GB
Hi Folks,
my main workstation is a VM on proxmox via PCoIP.

Win10 and Win11 now have the ability to run Linux as a subsystem, but it seems it runs in a Windows hypervisor within windows. ....

Normally, a hypervisor inside a Hypervisor is not advised and I get that... but is there a way around this?

WSL2 is unable to start since virtualisation is not enabled on this machine.
Please ensure the "Virtual Machine Platform" optional component is enabled and virtualisation is turned on in your computer's firmware settings.

Enable "Virtual Machine Platform" by running: wsl.exe --install --no-distribution

For information please visit https://aka.ms/enablevirtualization
Error code: Wsl/InstallDistro/Service/RegisterDistro/CreateVm/HCS/HCS_E_HYPERV_NOT_INSTALLED


many thanks
Humpty
 
See: https://pve.proxmox.com/wiki/Windows_10_guest_best_practices#Installing_WSL(g) and https://pve.proxmox.com/wiki/Windows_11_guest_best_practices#Installing_WSL(g)

Basically you need to enable nested virtualization in the CPU flags of the VM config. Please note, that this also enables Microsoft virtualization-based-security (VBS) to mitigate CPU-security-issues like Spectre/Meltdown etc. Sadly these mitigations come with a performance penalty which are worked by qemu and proxmox developers on but not resolved (yet). Which usecase do you have for WSL or other hypervisors in your windows vms? It might be easier and perform better to spin up a Linux VM, you access with ssh or vnc.