572 Commits

Author SHA1 Message Date
Blue
f737a8edd2 Merge 2025-11-14 15:19:13 -08:00
Blue
585b97430c Merge branch 'feature/wsl-for-apps' into user/oneblue/mounts 2025-11-14 15:12:25 -08:00
Kevin Vega
d63fee34f2
Add vmrs collection (#13705)
* Add vmrs collection
2025-11-14 14:33:55 -08:00
Flor Chacón
de494011ae
Add targets to nuget package (#13718) 2025-11-14 13:12:02 -08:00
Blue
677a21c5f7 Move the logic to mount the root VHD & basic filesystems to the service 2025-11-14 12:41:31 -08:00
Blue
8eee7439b2
Restore the call to ApplyProcessMitigationPolicies in ServiceMain (#13715) 2025-11-14 12:31:57 -08:00
Blue
c1a3e6174c
Implement WSLAProcess (#13694)
* wsla: Prototype new process waitpid() model

* Save state

* Save state

* Save state

* Save state

* Save state

* Wire everything

* Format

* Save state

* Save state

* Redesign process launcher

* Port tests

* Port tests

* Move shell to new API

* Format

* Port more tests

* Add copyright header

* Prepare for PR

* Fix tests

* PR feedback

* Fix termination issue + add more negative tests

* Fix termination issue + add more negative tests

* Format
2025-11-13 18:10:00 -08:00
Blue
5585e4210b
wsla: Add service API definition and stub methods (#13659)
* wsla: Add service API definition

* Explicitely mark API's to be deleted in the future

* Add TODOs and session storage path

* Update src/windows/wslaservice/inc/wslaservice.idl

Co-authored-by: Pooja Trivedi <poojatrivedi@gmail.com>

* Update comments

* PR feedback

* Use an object for containers

* Update API definition

* Add stub methods

---------

Co-authored-by: Pooja Trivedi <poojatrivedi@gmail.com>
2025-11-07 11:46:42 -08:00
Pooja Trivedi
b489a11b69
Add a --new-api temporary flag for WSLA debugging (#13684)
* Add a --new-api flag to WslClient tool
* When the flag is specified, the newly wired
  codepath for WSLASession creation is followed
* Existing mode of WSLAUserSession creating VM
  will temporarily exist parallely until proper
  scaffolding cleanup

Authored-by: Pooja Trivedi <trivedipooja@microsoft.com>
2025-11-06 14:32:38 -05:00
Pooja Trivedi
34e673fc20
WSLAUserSession and WSLASession changes (#13677)
* Add WSLASession creation and tracking in WSLAUserSession
* Wire up WSLASession to contain and create WSLAVirtualMachine

Co-authored-by: Pooja Trivedi <trivedipooja@microsoft.com>
2025-11-06 09:42:48 -05:00
Blue
26ceaa566d
Fix incorrect string formating in SocketChannel.h (#13680) 2025-11-05 17:52:16 -08:00
Pooja Trivedi
36bf9d4127
Add fstype parameter to WslClient tool (#13678)
Used to specify filesystem type for VHD mounting in VM
Default: ext4

Authored-by: Pooja Trivedi <trivedipooja@microsoft.com>
2025-11-05 17:09:03 -05:00
Ben Hillis
1c5afc41a4
Merge pull request #13679 from microsoft/user/benhill/merge_master_to_feature
Merge master -> feature/wsl-for-apps
2025-11-05 13:07:01 -08:00
Blue
a7ee103dc7
wsla: Create a dedicated ETL provider for wslaservice.exe (#13673) 2025-11-05 11:22:43 -08:00
Ben Hillis
14226f750c Merge remote-tracking branch 'origin/master' into feature/wsl-for-apps 2025-11-05 09:38:29 -08:00
Scott Bradnick
09c17eb6c6
Remove SLE15SP6; add SLE16.0 (#13647) 2025-11-04 15:56:49 -08:00
Blue
46db45c39a
Add a temporary flag to wsl.exe to create a WSLA shell (#13664)
* Add a temporary flag to wsl.exe to create a WSLA shell

* Improve some error paths

* Add dependency
2025-11-04 13:09:20 -08:00
Arch Linux Technical User
bafd381aec
archlinux: Release 2025.11.01.150831 (#13661)
This is an automated release [1].

[1] https://gitlab.archlinux.org/archlinux/archlinux-wsl/-/blob/main/.gitlab-ci.yml
2025-11-03 08:15:59 -08:00
Blue
2abbe8baf3
wsla: Update the CreateProcess logic to support allocating file descr… (#13655)
* wsla: Update the CreateProcess logic to support allocating file descriptors from the guest

* PR feedback
2025-11-01 01:49:25 +00:00
Blue
1a6cbe560b
Fix various issues with the interactive shell (#13634)
* Save state

* Save state

* Save state

* Save state

* Save state

* Save state

* Save state

* Save state

* Save state

* Cleanup for review

* Update ServiceMain.cpp comment

* Remove duplicated definitions from wslservice.idl

* poc: Prototype interactive shell improvments

* Format

* Merge

* Save state

* Correctly configure terminal

* Format

* PR feedback
2025-10-31 17:18:34 -07:00
Blue
8b62d5a662
Implement DNS tunelling support for WSLA (#13651) 2025-10-30 15:24:04 -07:00
AlmaLinux Autobot
d48ece45a4
chore(distributions): Almalinux auto-update - 20251030 17:08:25 (#13653)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-10-30 13:29:45 -07:00
Blue
ae4347d9df
Notice change from build: 132846777 (#13654)
Co-authored-by: WSL notice <noreply@microsoft.com>
2025-10-30 11:42:48 -07:00
Blue
64160a40f0
Make the sample WSL_POST_BUILD_COMMAND more resilient (#13652) 2025-10-30 10:25:03 -07:00
Jeremy Cline
fdfe1eb843
fedora: Add Fedora 43 to the distribution list (#13643)
Six months have gone by, so it's time for another Fedora release. In
addition to the general Fedora updates this release, the WSL image is
now properly suffixed.
2025-10-28 14:45:41 -07:00
Blue
cedbb94d36
Create structure for WSLASession COM class & implementation (#13638)
* Create structure for WSLASession COM class & implementation

* Fix COM security pointer

* Add missing files

* Add copyright header

* Update src/windows/wslaservice/exe/WSLASession.cpp

Co-authored-by: Pooja Trivedi <poojatrivedi@gmail.com>

---------

Co-authored-by: Pooja Trivedi <poojatrivedi@gmail.com>
2025-10-28 14:44:33 -07:00
Blue
296fe805b9
Localization change from build: 132491007 (#13639)
Co-authored-by: WSL localization <noreply@microsoft.com>
2025-10-25 12:09:22 -07:00
Blue
451a7e103a
wsla: Create wslaservice.exe (#13623)
* Save state

* Save state

* Save state

* Save state

* Save state

* Save state

* Save state

* Save state

* Save state

* Cleanup for review

* Update ServiceMain.cpp comment

* Remove duplicated definitions from wslservice.idl
2025-10-23 17:44:57 -07:00
Blue
3f24caaf73
Move wslaclient.dll under the 'Windows folder' (#13628) 2025-10-23 10:57:58 -07:00
Ben Hillis
a231b6b5f9
Fix WslDistributionConfig to not default-initialize FeatureFlags or NetworkingMode optional fields (#13629)
Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
2025-10-23 08:28:13 -07:00
Blue
2715a79fb4
Localization change from build: 132360042 (#13630)
Co-authored-by: WSL localization <noreply@microsoft.com>
2025-10-23 08:27:52 -07:00
Blue
3361736a3a
Localization change from build: 132310101 (#13627)
Co-authored-by: WSL localization <noreply@microsoft.com>
2025-10-22 10:42:21 -07:00
Blue
cccae113d7
Localization change from build: 132289123 (#13625)
Co-authored-by: WSL localization <noreply@microsoft.com>
2025-10-22 08:42:54 -07:00
Ben Hillis
9e9ef6f145
Fix edge cases around .vhd support (#13061)
* Fix edge cases around .vhd support

* PR feedback

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* pr feedback

* remove unneeded scope exit in unit test

---------

Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-21 17:00:47 -07:00
Blue
c6eecd90db
wsla: Add the wsla-team to codeowners (#13622) 2025-10-21 15:47:36 -07:00
Blue
9d505519ea Merge merge into feature/wsl-for-apps 2025-10-20 12:40:02 -07:00
Blue
c1b77b125d
Notice change from build: 131949882 (#13608)
Co-authored-by: WSL notice <noreply@microsoft.com>
2025-10-16 14:47:32 -06:00
Ben Hillis
dab574ebc1
Update Microsoft.WSL.DeviceHost package to version 1.0.0-20251015.1 which contains support virtioproxy support for ICMP (#13606)
Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
2025-10-16 13:20:26 -06:00
Ben Hillis
a445eaa89f
Update Microsoft.NETCore.App.Runtime packages version with fix for CVE-2025-55248 (#13607)
Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
2025-10-16 12:06:26 -07:00
Blue
b3a7b7d395
Add logic to handle partial hvsocket writes and additional logging (#13602) 2025-10-16 10:53:49 -07:00
Blue
0974c302c0
Remove unused LXSS_DISTRO_FLAGS_WSLCORE_MODE (#13603) 2025-10-15 21:42:39 -07:00
Blue
c7aad61611
Improve logging when socket operations fail (#13579)
* Don't throw when processing an empty argument

* Cleanup diff
2.6.2
2025-10-08 18:24:31 -07:00
Blue
5d097195fa
Fix potential service deadlock when plugin returns an error from OnVmStarted (#13569) 2025-10-08 15:40:02 -07:00
Blue
8540b2b6f5
Add WTI rule to detect usermode crashes (#13574) 2025-10-07 15:52:56 -07:00
Ben Hillis
05d6129c4f
Implement clean instance terminate when using systemd (#13552)
* Implement clean instance terminate when using systemd

* pr feedback

* more pr feedback

---------

Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
2025-10-07 15:37:41 -07:00
Hideyuki Nagase
491d8d5707
Update WSLg to 1.0.71 (#13570)
Co-authored-by: Hideyuki Nagase <hideyukn@ntdev.microsoft.com>
2025-10-07 09:29:18 -07:00
Blue
babf0c24f1
Add hypervkvpd.service to the list of discouraged systemd units (#13568) 2025-10-06 17:20:12 -07:00
Blue
9f77522f64
Update the initramfs to set 755 permissions on /init (#13567) 2025-10-06 17:19:49 -07:00
Blue
9b5659d4b9
Respect the distribution manifest ordering when listing distributions (#13561)
* Respect the distribution manifest ordering when listing distributions

* Fix test

* Update test/windows/UnitTests.cpp

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-06 12:42:32 -07:00
Blue
d4e64b658f
Add more verbose output to bsdtar to help root cause 'ImportExportStdout' test failures (#13555) 2025-10-03 17:37:40 -07:00