[Rust-VMM] VMM related bindings

Samuel Ortiz samuel.ortiz at intel.com
Thu Apr 11 08:25:54 UTC 2019


In several cases, we need to generate kernel bindings for some of our
crates (kvm, vhost, virtio), through rust-bindgen.
There's been discussions about whether we should have those bindings as
part of the related crate (e.g. a virtio/src/bindings.rs module for the
virtio bindings) or as a separate crate (virtio-bindings,
vhost-bindings, kvm-bindings).

We (Andreea and myself) believe it makes more sense to have them as
separate crates, and clearly distinguish generated bindings from actual
code consuming them. It generates a few more repos, but that's a minor
burden after all.

Does anyone have strong opinions against that pattern?


Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris, 
92196 Meudon Cedex, France
Registration Number:  302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

More information about the Rust-vmm mailing list