supermachine 0.5.0

Run any OCI/Docker image as a hardware-isolated microVM on macOS HVF (Linux KVM and Windows WHP in progress). Single library API, zero flags for the common case, sub-100 ms cold-restore from snapshot.
1
2
3
4
5
6
7
// PORT TARGET: utils/src/eventfd.rs (Linux only)
// Status: skeleton (no impl)
//
// macOS analogue: kqueue EVFILT_USER + NOTE_TRIGGER. Provides the
// same "write 1 to wake; read drains" semantics via the kqueue
// user-event ident space. Critical for the muxer_thread <- vCPU
// thread wake path.