#qemu #tokio #qapi #qmp #async

tokio-qapi

QEMU QMP and Guest Agent API tokio adapter

5 releases (3 breaking)

0.4.0 Dec 17, 2018
0.3.0 Sep 10, 2018
0.2.0 Jul 25, 2018
0.0.2 Mar 14, 2018
0.0.1 Mar 14, 2018

#6 in #qapi

MIT license

81KB
842 lines

qapi-rs

travis-badge release-badge docs-badge license-badge

A rust library for interfacing with QEMU QAPI sockets.

Documentation

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.4.0", features = [ "qmp" ] }

Examples

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

Dependencies

~1.5–2.5MB
~51K SLoC