Hacker News new | ask | show | jobs
by clhodapp 26 days ago
I posted a similar query on the Replit sandbox engine article, but..

How do people feel about the hardware isolation provided by microVMs versus the stronger end of software isolation techniques like gvisor?

Right now, we put a huge amount of stock in "hardware isolation". If that starts falling to agents to any substantial degree, I wonder whether we might end up leaning more on patchable software isolation, similar to the rise of software RAID (though, in userspace this time).

3 comments

My intuition is that gVisor is never going to be stronger in a fair comparison. Almost all the vulns are in I/O code and every type of container/VM/sandbox has I/O.
FYI, gvisor also uses KVM under the hood; it's not completely orthogonal to [micro]VMs.
The way gVisor uses KVM isn't really the way a hypervisor does, though. There's no Linux guest kernel, the Sentry is both the VMM and the guest kernel and flips itself between the two modes. vCPUs are bound dynamically. No device emulation layer. Saying "it uses KVM" is technically accurate (when using the KVM platform), but extrapolating from that that it looks like a hypervisor/VM would also be incorrect. :)
That's not the default gvisor option. It can use kvm, but by default (and most common setup in my limited experience) it doesn't.
You mean virtualised hardware ? That's still technically software