docs: add Tart to Usage section#161
Open
tannevaled wants to merge 1 commit into
Open
Conversation
Member
Tart can use socket_vmnet via a drop-in softnet replacement (the SOCK_DGRAM↔SOCK_STREAM pipe approach discussed in lima-vm#13). With this in place, Tart VMs share L2 with Lima VMs on the same socket_vmnet daemon, unblocking VM↔VM communication on macOS Sequoia/Tahoe where the bridge100 PRIVATE flag prevents it natively. Implementation: https://github.com/tannevaled/socket-vmnet-shim Signed-off-by: tannevaled <tannevaled@users.noreply.github.com>
94331db to
c34f372
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a
### Tartsubsection under## Usage, alongside the existing QEMU and Lima sections, pointing readers to a drop-insoftnetreplacement that lets Tart VMs share asocket_vmnetdaemon with Lima VMs.Context
This implements (out-of-tree, as a sidecar binary) the SOCK_DGRAM↔SOCK_STREAM framing pipe that @balajiv113 proposed in #13 and @AkihiroSuda accepted as a reasonable workaround:
The standalone implementation lives at https://github.com/tannevaled/socket-vmnet-shim — ~200 lines of std-only Rust, two threads, ~300 KB binary stripped. It impersonates cirruslabs/softnet's CLI so `tart run --net-softnet ` picks it up unmodified via PATH override. Verified on macOS Tahoe 26.5 with 3 Tart Debian VMs and 3 Lima Debian VMs on the same socket_vmnet shared daemon — full mesh ping, 0% loss.
This PR is just the documentation entry that makes the path discoverable to socket_vmnet users; it intentionally doesn't pull the shim into this repo (the maintenance footprint stays elsewhere unless you'd prefer otherwise — happy to do that as a follow-up if it's of interest).
Test plan