I've got a Windows VM that I am using for testing in lieu of a real WIndows machine. I'd like to enable WSL2 inside that VM.
So far I've:
- Upgraded Windows to v2004.
- Enabled nested virtualization in kvm-intel kernel module via
options kvm-intel nested=1 - Made sure that
sudo cat /sys/module/kvm_intel/parameters/nestedoutputs "Y". - Set
<cpu model='host-passthrough'>in virt-manager's xml config.
Still no dice. As soon as I enable "Virtual Machine Platform" feature, as required for WSL2, my VM starts freezing on boot.
Has anyone managed to do this successfully?