5 ms·
WSL is not a VM. The upcoming WSL2 might be, though.
by petters 7y ago
WSL is not a VM. The upcoming WSL2 might be, though.
- faissaloo 7y agoI'm pretty sure WSL2 is going to use a user mode kernel
- lloeki 7y agoIIRC the NT kernel can run multiple kernels-or-something side by side. It could probably be used to co-run Linux kind of like CoLinux does. IIRC also, MS can use the Windows HyperV infrastructure to run the Linux kernel too, like they do on Xbox One to segregate games "Exclusive" OS from apps "Shared" OS. In that sense it won't be user mode either like user-mode linux is. My bet is on the latter. https://en.wikipedia.org/wiki/Architecture_of_Windows_NT https://en.wikipedia.org/wiki/Architecture_of_Windows_NT https://en.wikipedia.org/wiki/Xbox_One_system_software https://en.wikipedia.org/wiki/Xbox_One_system_software https://en.wikipedia.org/wiki/Cooperative_Linux https://en.wikipedia.org/wiki/Cooperative_Linux https://en.wikipedia.org/wiki/User-mode_Linux https://en.wikipedia.org/wiki/User-mode_Linux
- aasasd 7y agoWell I'll be damned, someone knows about CoLinux.
- pjc50 7y agoThe WSL2 install command is ( https://docs.microsoft.com/en-us/windows/wsl/wsl2-install https://docs.microsoft.com/en-us/windows/wsl/wsl2-install ) Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform which suggests it's a virtual machine.
- Cu3PO42 7y agoWSL2 is already available in the Windows Insiders Fast Ring. It is, indeed, a VM running on top of HyperV.