I ended up realizing that QEMU already supports microVMs and shipped https://github.com/rcarmo/pve-microvm yesterday. It's working out great for me, even if it's not portable in the same way (I can always do a .qcow dump, I guess)
So directionally yes. But it relies on kvm. I focus on portability i.e. cross platform for local macOS and linux, so that is not top of mind for me right now.
unikraft's internals are not open source so I can't say.
But smol machines are not an implementation of unikernel - it's basically just the linux kernel but slimmed down. So, more compatible with most software.
Attention really is all you need.
reply