* Clean up localhost relay implementation to not rely on procfs parsing.
* pr feedback
---------
Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
* WSLA: Add virtiofs support for mounted Windows paths
* pr feedback and clarification on removing virtiofs shares
---------
Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
* virtiofs: fix an issue where if the VM is launched by an elevated user, non-elevated shells will have elevated virtiofs access.
* rename keelAlive -> keepAlive
---------
Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
* CI: resolve wslsettings being rebuilt and signature being overwritten
* fix for non-release builds
* fix yaml format
* remove print for local builds
---------
Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
* test: add simple virtio proxy networking tests
* move mirrored tests to their own class
* fix failing mirrored variation
* use different port for HostUdpBindDoesNotPreventGuestTcpBind
---------
Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
* Implement Stop Container
* Add TODO for testing Stop() on a container in 'Created' state
* Update src/windows/wslaservice/exe/WSLAContainer.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update src/windows/wslaservice/exe/WSLAContainer.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update src/windows/wslaservice/exe/WSLAContainer.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Fix timeout, state, etc.
* Change to using a recursive_mutex for now
Based on discussions, preferring easier code readability,
maintenance, debugging until we do perf testing. Also consistency
with existing codebase for similar scenarios
* Fix merge issues and change to recursive_mutex after merge
---------
Co-authored-by: Pooja Trivedi <trivedipooja@microsoft.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Reverts to the original DEFINED-only check for consistency with existing build logic. This is a small follow-up based on reviewer feedback from the previous PR.
* Implement CreateContainer method
* Build fixes
* Implement CreateContainer method
* Update src/windows/wslaservice/exe/WSLAContainer.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Fix nerdctl host networking parameter
* Prototype CreateContainer()
* Format
* Format
* Start writing tests
* Fix various issues
* Add new files
* Test cleanup
* Test cleanup
* Prepare for PR
* Fix ARM build
* Add copyright header
* Update cmakelists.txt
* Use ifdefs
* Format
* ifdef ARM64
* Install the test .vhd in the MSI
* Update the stdin test
* Format
* Refactor the session creation logic to match the new WSLA API
* Prepare for review
* Apply PR feedback
* Use early return
* Save state
* Implement container state management
* Format
* Implement open
* Implement Delete() and proper sync logic
* Format
* Handle nerdctl inspect failures
* Format
* Fix logic error in poll
* Format
---------
Co-authored-by: Pooja Trivedi <trivedipooja@microsoft.com>
Co-authored-by: Pooja Trivedi <poojatrivedi@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Implement CreateContainer method
* Build fixes
* Implement CreateContainer method
* Update src/windows/wslaservice/exe/WSLAContainer.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Fix nerdctl host networking parameter
* Prototype CreateContainer()
* Format
* Format
* Start writing tests
* Fix various issues
* Add new files
* Test cleanup
* Test cleanup
* Prepare for PR
* Fix ARM build
* Add copyright header
* Update cmakelists.txt
* Use ifdefs
* Format
* ifdef ARM64
* Install the test .vhd in the MSI
* Update the stdin test
* Format
* Refactor the session creation logic to match the new WSLA API
* Prepare for review
* Apply PR feedback
* Use early return
---------
Co-authored-by: Pooja Trivedi <trivedipooja@microsoft.com>
Co-authored-by: Pooja Trivedi <poojatrivedi@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>