Skip to content
  • 0 Votes
    1 Posts
    0 Views
    dch@bsd.networkD
    #FreeBSD #virtio #vsock a couple of months ago I worked on hooking https://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 - https://mdlayher.com/blog/linux-vm-sockets-in-go/Keep an eye out on CURRENT as other parts of this land for FreeBSD:⁃ Danilo‘s original work https://www.freebsd.org/status/report-2024-07-2024-09/vsock/⁃ Mina‘s work which I only just discovered https://codeberg.org/meena/vsock-tests & https://codeberg.org/meena/freebsd-src/src/branch/vsock⁃ Faraz‘s recent additions https://github.com/freebsd/freebsd-src/pull/2319 & https://github.com/freebsd/freebsd-src/pull/2322