News for hackers. Stuff that matters.
Re:FreeBSD on Firecracker by packetlost on Friday August 25, 2023 @01:28PM (#37264510)
This is exactly what I'm referring to. You have a pool of virtual NICs on the host in user-space created by the VM runtime that get assigned to the guest on provision-time, which just passes through any commands/syscalls (bind/connect/etc.) via a funky driver interface. You'd have to mangle the guest kernel syscalls or libc though, it might be really ugly.
Re:FreeBSD on Firecracker by monocasa on Friday August 25, 2023 @01:41PM (#37264668)
> You'd have to mangle the guest kernel syscalls or libc though, it might be really ugly.

You wouldn't have to. There's patches for hardware TCP offload using the normal socket syscall ABI. The kernel net stack maintainer is pretty ideologically against them so they're not mainlined, but plenty of people have been running them in production for decades and they're quite mature.

Re:FreeBSD on Firecracker by packetlost on Friday August 25, 2023 @01:43PM (#37264690)
Oh neat!