tailscale/tstest/natlab
Jonathan Nobels 8fad8c4b9b
tstest/tailmac: add customized macOS virtualization tooling (#13146)
updates tailcale/corp#22371

Adds custom macOS vm tooling.  See the README for
the general gist, but this will spin up VMs with unixgram
capable network interfaces listening to a named socket,
and with a virtio socket device for host-guest communication.

We can add other devices like consoles, serial, etc as needed.

The whole things is buildable with a single make command, and
everything is controllable via the command line using the TailMac
utility.

This should all be generally functional but takes a few shortcuts
with error handling and the like.  The virtio socket device support
has not been tested and may require some refinement.

Signed-off-by: Jonathan Nobels <jonathan@tailscale.com>
2024-08-19 15:01:19 -04:00
..
machost tstest/tailmac: add customized macOS virtualization tooling (#13146) 2024-08-19 15:01:19 -04:00
vnet tstest/natlab/vnet: fix one-by-one from earlier numbering change 2024-08-13 12:32:01 -07:00
firewall.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
nat.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
natlab_test.go all: use Go 1.22 range-over-int 2024-04-16 15:32:38 -07:00
natlab.go all: use math/rand/v2 more 2024-06-05 15:24:04 -07:00