#qemu #qapi #qmp

qapi-qmp

QEMU Machine Protocol types

13 breaking releases

0.15.0 Sep 9, 2024
0.14.0 Sep 19, 2023
0.13.0 May 5, 2023
0.11.0 Feb 16, 2023
0.0.1 Mar 14, 2018

#123 in Emulators

Download history 367/week @ 2024-12-21 312/week @ 2024-12-28 1013/week @ 2025-01-04 1080/week @ 2025-01-11 1286/week @ 2025-01-18 1311/week @ 2025-01-25 906/week @ 2025-02-01 1215/week @ 2025-02-08 1068/week @ 2025-02-15 1540/week @ 2025-02-22 1786/week @ 2025-03-01 1654/week @ 2025-03-08 1123/week @ 2025-03-15 1139/week @ 2025-03-22 1055/week @ 2025-03-29 1262/week @ 2025-04-05

4,894 downloads per month
Used in 9 crates (2 directly)

MIT license

185KB
418 lines

qapi-rs

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

Examples

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

Dependencies

~0.8–1.7MB
~37K SLoC