#qemu #qmp #qga #qapi

qapi

QEMU QMP and Guest Agent API

6 releases (breaking)

0.6.0 Aug 14, 2020
0.4.1 Jan 2, 2019
0.4.0 Dec 17, 2018
0.3.0 Sep 9, 2018
0.0.2 Mar 14, 2018

#34 in Emulators

44 downloads per month

MIT license

78KB
1K SLoC

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

Examples

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

Dependencies

~1.3–2.7MB
~58K SLoC