#virtualization #vm #macos #api-bindings

virtualization-rs

virtualization-rs provides the API of the Apple Virtualization.framework in Rust language

3 releases

0.1.2 Feb 3, 2021
0.1.1 Jan 30, 2021
0.1.0 Jan 30, 2021

#1364 in Hardware support

MIT license

1MB
852 lines

virtualization-rs

Crates Document

Rust bindings for Virtualization.framework

virtualization-rs provides the API of the Apple Virtualization.framework in Rust language.

Requirements

macOS Big Sur

Usage

[dependencies]
virtualization-rs = "0.1.2"

Example

The example is inspired from SimpleVM.

make release
./target/release/examples/simplevm --kernel ubuntu/vmlinuz --initrd ubuntu/initrd --disk ubuntu/ubuntu.iso

simplevm


lib.rs:

virtualization-rs provides the API of the Apple Virtualization.framework in Rust language.

Examples

See the simplevm for more details.

The example is inspired from SimpleVM.

Dependencies