Just a proof-of-concept run of "cwrap" on libkrun: https://github.com/afbjorklund/go-libkrun/tree/main/pkg/krun And a similar not-quite-Go port of the C example: https://github.com/afbjorklund/go-libkrun/tree/main/cmd/chroot_vm ---- Not sure if you want to include this (or similar) in the upstream project... Or if it is better off downstream somewhere, then it could find hosting. Currently [Lima](https://github.com/lima-vm/lima) is using CLI when using the QEMU driver. (qemu-system) But API when using the [Vz](https://github.com/Code-Hex/vz) driver, instead of a CLI wrapper like "vfkit".