Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.
/ virtio-bindings Public archive

This crate is now part of the vm-virtio workspace: https://github.com/rust-vmm/vm-virtio

License

Apache-2.0, BSD-3-Clause licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
BSD-3-Clause
LICENSE-BSD
Notifications You must be signed in to change notification settings

rust-vmm/virtio-bindings

Folders and files

NameName
Last commit message
Last commit date
Sep 2, 2019
Nov 26, 2021
Mar 2, 2022
Feb 7, 2022
Feb 7, 2022
Sep 2, 2019
Oct 10, 2019
Sep 16, 2019
Sep 2, 2019
Oct 10, 2019
Sep 2, 2019
Sep 2, 2019
Sep 2, 2019
Feb 7, 2022

virtio-bindings

Rust FFI bindings to virtio generated using bindgen.

Usage

Add this to your Cargo.toml:

virtio-bindings = { version = "0.1", features = ["virtio-v5_0_0"]}

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::*;

In the virtio-bindings crate each feature maps to exactly one Linux version as follows:

  • virtio-v4_14_0 contains the bindings for the Linux kernel version 4.14
  • virtio-v5_0_0 contains the bindings for the Linux kernel version 5.0

About

This crate is now part of the vm-virtio workspace: https://github.com/rust-vmm/vm-virtio

Resources

License

Apache-2.0, BSD-3-Clause licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
BSD-3-Clause
LICENSE-BSD

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages