Skip to content

arcnmx/qapi-rs

Repository files navigation

qapi-rs

release-badge docs-badge license-badge

A rust library for interfacing with QEMU QAPI sockets.

See the documentation for up to date information, as well as the reference documentation for both the QEMU Machine Protocol and Guest Agent APIs.

There are two features (qga and qmp) which enable their respective functionality. They can be enabled in your Cargo.toml:

[dependencies]
qapi = { version = "0.15", features = [ "qmp" ] }

Examples

Short examples are available for both QMP and Guest Agent. Async/nonblocking examples using tokio are also available.