Windows Version
Microsoft Windows [Version 10.0.26100.4652]
WSL Version
WSL version: 2.5.9.0
Are you using WSL 1 or WSL 2?
Kernel Version
Kernel version: 6.6.87.2-1
Distro Version
any
Other Software
No response
Repro Steps
- Add to
/etc/wsl.conf or %UserProfile%\.wslconfig as documented here
[wsl2]
nestedVirtualization=true
- Restart wsl
Expected Behavior
wsl2.nestedVirtualization setting works
/dev/kvm exists
Actual Behavior
/dev/kvm does not exist
- When setting in
.wslconfig, no errors are printed
3. When setting in /etc/wsl.conf, upon terminating and restarting the specific wsl distro, you get the following error message:
wsl: Unknown key 'wsl2.nestedVirtualization' in /etc/wsl.conf:7
Diagnostic Logs
No response
Windows Version
Microsoft Windows [Version 10.0.26100.4652]
WSL Version
WSL version: 2.5.9.0
Are you using WSL 1 or WSL 2?
Kernel Version
Kernel version: 6.6.87.2-1
Distro Version
any
Other Software
No response
Repro Steps
/etc/wsl.confor%UserProfile%\.wslconfigas documented hereExpected Behavior
wsl2.nestedVirtualizationsetting works/dev/kvmexistsActual Behavior
/dev/kvmdoes not exist.wslconfig, no errors are printed3. When setting in/etc/wsl.conf, upon terminating and restarting the specific wsl distro, you get the following error message:wsl: Unknown key 'wsl2.nestedVirtualization' in /etc/wsl.conf:7Diagnostic Logs
No response