virtualization-rs provides the API of the Apple Virtualization.framework in Rust language.
[dependencies]
virtualization-rs = "0.1.0"
The example is inspired from SimpleVM.
sh
make release
./target/release/examples/simplevm --kernel ubuntu/vmlinuz --initrd ubuntu/initrd --disk ubuntu/ubuntu.iso