MicrosoftDocs / WSL

Source code behind the Windows Subsystem for Linux documentation.
https://docs.microsoft.com/windows/wsl
Other
1.89k stars 556 forks source link

What should we substitue for <VMName> #1795

Closed dlech closed 8 months ago

dlech commented 1 year ago

Documentation Issue

In the following command, it appears that <VMName> is meant as a placeholder, but the surrounding documentation does not say what to replace it with.

Set-VMProcessor -VMName <VMName> -ExposeVirtualizationExtensions $true

Link to documentation page

https://learn.microsoft.com/en-us/windows/wsl/troubleshooting#error-0x80370102-the-virtual-machine-could-not-be-started-because-a-required-feature-is-not-installed

Suggested Improvements

No response

Biswa96 commented 1 year ago

The name is shown in the Hyper-V Manager (image is just an example).

image

That command is only required if you are running WSL inside of a Windows VM.

dlech commented 1 year ago

Thanks. The docs aren't clear if the command should be run on the host or the guest. Since the error occurs on the guest, I assumed the command needed to be run there as well, but now I see that it needs to be run on the host system.

mattwojo commented 8 months ago

Thanks for filing this issue @dlech and for the assist @Biswa96! Updated the doc with more context to resolve this in https://github.com/MicrosoftDocs/WSL/pull/1848