Re:Microsoft submits Linux kernel patches to enable complete...
by qalmakka on Wednesday September 16, 2020 @08:56AM
(#24492196)
You got it completely wrong. WSL1 was a system call translation layer, and everything worked directly on the Windows kernel, like Windows programs do under WINE.
WSL2 is an standard Hyper-V virtual machine, no more no less, with a custom Linux kernel build and a ext4 root filesystem stored in a .vhdx image. Every process runs as a native Linux process under the Microsoft's Linux kernel, _inside_ the VM. What makes it more convenient than simply opening the Hyper-V manager and creating a VM is ease of installation, maintenance and integration with Windows (using the 9p protocol to allow file access).
[ Parent
| on HN ]
Re:Microsoft submits Linux kernel patches to enable complete...
by withinboredom on Wednesday September 16, 2020 @09:30AM
(#24492505)
And you got it all wrong :p. It’s not a “standard Hyper-V virtual machine” you can’t make one from scratch.
Re:Microsoft submits Linux kernel patches to enable complete...
by qalmakka on Wednesday September 16, 2020 @11:34AM
(#24493652)
With "standard Hyper-V virtual machine" I mean that's like every other VM, because it runs under its own instance of vmwp.exe, spawned by vmms.exe, like every other one you may have in the system.
Re:Microsoft submits Linux kernel patches to enable complete...
by withinboredom on Wednesday September 16, 2020 @12:41PM
(#24494379)
Now I want to take those executables apart and see if it does any special handling.