#qemu #qmp #qga #qapi

qapi-parser

QEMU QAPI JSON specification parser

8 releases (5 breaking)

0.9.1 Jul 21, 2022
0.9.0 Apr 24, 2022
0.6.0 Sep 9, 2021
0.5.0 Aug 14, 2020
0.0.1 Mar 14, 2018

#3 in #qmp

Download history 366/week @ 2023-02-15 393/week @ 2023-02-22 230/week @ 2023-03-01 216/week @ 2023-03-08 283/week @ 2023-03-15 343/week @ 2023-03-22 326/week @ 2023-03-29 81/week @ 2023-04-05 88/week @ 2023-04-12 191/week @ 2023-04-19 111/week @ 2023-04-26 184/week @ 2023-05-03 157/week @ 2023-05-10 224/week @ 2023-05-17 274/week @ 2023-05-24 233/week @ 2023-05-31

922 downloads per month
Used in 6 crates (via qapi-codegen)

MIT license

17KB
546 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.9.0", 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.6MB
~36K SLoC