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.4.0", features = [ "qmp" ] }
Short examples are available for both QMP and Guest Agent. Async/nonblocking examples using tokio are also available.