#FreeBSD #virtio #vsock a couple of months ago I worked on hooking https://githu...

@dch@bsd.network

#FreeBSD #virtio #vsock a couple of months ago I worked on hooking github.com/apple/container up so it could run FreeBSD which is obviously far more useful to my community.

This was a relatively trivial exercise involving adding an additional tty and abusing it with a JSON line protocol to exchange messages with a crappy little daemon.

That worked enough, and was enough to nerd snipe much smarter people than me to look at doing it properly, using the VSOCK API.

Here’s a nice article on doing that for #linux with go - mdlayher.com/blog/linux-vm-soc

Keep an eye out on CURRENT as other parts of this land for FreeBSD:

⁃ Danilo‘s original work freebsd.org/status/report-2024
⁃ Mina‘s work which I only just discovered codeberg.org/meena/vsock-tests & codeberg.org/meena/freebsd-src
⁃ Faraz‘s recent additions github.com/freebsd/freebsd-src & github.com/freebsd/freebsd-src