updated source code paths in the wslservice tab (#41509)
Co-authored-by: Tega Ajise <tegaajise@Tegas-MacBook-Pro-2.local>
tega-ajise committed
Sep 3, 2026 at 15:42 UTC
d90ebfce769e964de0f81392102d38cadb7ddd63
1 file changed
+3
-3
doc/docs/technical-documentation/wslservice.exe.md
+3
-3
@@ -6,7 +6,7 @@ WslService is a session 0 service, running as SYSTEM. Its job is to manage WSL s
6
7
Clients can connect to WslService via its COM interface, ILxssUserSession. Its definition can be found in `src/windows/service/inc/wslservice.idl`.
8
9
-When a COM client calls [CoCreateInstance()](https://learn.microsoft.com/windows/win32/api/combaseapi/nf-combaseapi-cocreateinstance) on this interface, the service receives the requests via `LxssUserSessionFactory` (see `src/windows/service/LxssUserSessionFactory.cpp`) and returns an instance of `LxssUserSession` (see `src/windows/service/LxssUserSession.cpp`) per Windows user (calling CoCreateInstance() multiple times from the same Windows user accounts returns the same instance).
9
+When a COM client calls [CoCreateInstance()](https://learn.microsoft.com/windows/win32/api/combaseapi/nf-combaseapi-cocreateinstance) on this interface, the service receives the requests via `LxssUserSessionFactory` (see `src/windows/service/exe/LxssUserSessionFactory.cpp`) and returns an instance of `LxssUserSession` (see `src/windows/service/exe/LxssUserSession.cpp`) per Windows user (calling CoCreateInstance() multiple times from the same Windows user accounts returns the same instance).
10
11
The client can then use its `ILxssUserSession` instance to call methods into the service, such as:
12
@@ -17,13 +17,13 @@ The client can then use its `ILxssUserSession` instance to call methods into the
17
18
## WSL2 Virtual machine
19
20
-WslService manages the WSL2 Virtual Machine. The virtual machine management logic can be found in `src/windows/service/WslCoreVm.cpp`.
20
+WslService manages the WSL2 Virtual Machine. The virtual machine management logic can be found in `src/windows/service/exe/WslCoreVm.cpp`.
21
22
Once booted, WslService maintains an [hvsocket](https://learn.microsoft.com/virtualization/hyper-v-on-windows/user-guide/make-integration-service) with the Virtual Machine which it uses to send various commands to Linux processes (see [mini_init](mini_init.md) for more details).
23
24
## WSL2 Distributions
25
26
-Once the virtual machine is running, WSL distributions can be started by calling `WslCoreVm::CreateInstance`. Each running distribution is represented by a `WslCoreInstance` (see `src/windows/service/WslCoreInstance.cpp`).
26
+Once the virtual machine is running, WSL distributions can be started by calling `WslCoreVm::CreateInstance`. Each running distribution is represented by a `WslCoreInstance` (see `src/windows/service/exe/WslCoreInstance.cpp`).
27
28
Each `WslCoreInstance` maintains an hvsocket connection to [init](init.md) which allows WslService to perform various tasks such as:
29