Bug: 298810966

Clone this repo:
  1. 884ddaa Upgrade virtio-bindings to 0.2.2 am: a5a84daaaa by Jeff Vander Stoep · 3 months ago main master
  2. a5a84da Upgrade virtio-bindings to 0.2.2 by Jeff Vander Stoep · 3 months ago
  3. d0d8f43 Migrate to cargo_embargo. am: c6f65f5c23 am: 95524d52b7 am: f57955832e by Andrew Walbran · 6 months ago
  4. 59b0343 Migrate to cargo_embargo. am: c6f65f5c23 am: 654a8dd65c am: 61b1b87c87 by Andrew Walbran · 6 months ago
  5. f579558 Migrate to cargo_embargo. am: c6f65f5c23 am: 95524d52b7 by Andrew Walbran · 6 months ago

virtio-bindings

Rust FFI bindings to virtio generated using bindgen.

Usage

Add this to your Cargo.toml:

virtio-bindings = "0.2"

You can then import the bindings where you need them. As an example, to grab the bindings for virtio-blk, you can do:

use virtio_bindings::bindings::virtio_blk::*;

Development

To update the bindings, follow the steps in the Contributing Document.