[Rust-VMM] KVM bindings as independent crate

Samuel Ortiz samuel.ortiz at intel.com
Tue Jan 8 08:28:02 UTC 2019


Hi Andreea,

We created a rust-vmm organization on github [1], maybe we should have
the KVM bindings as our first repo there? I just sent you an invite to
become member of the org.

Cheers,
Samuel.

[1] https://github.com/rust-vmm

On Mon, Jan 07, 2019 at 04:41:42PM +0000, Florescu, Andreea wrote:
> Hey everyone,
> 
> 
> I published the KVM bindings on crates.io [1] under the name "kvm_wrapper". The bindings are available for arm, arm64, x86 and x86_64. The kernel version can be selected by using features. For now I only added bindings for linux-4.14.0 and linux-4.20.0, but others can be added if needed. The version can be selected using features:
> 
> kvm_wrapper = { version = "0.1.0", features = ["kvm_v4_14_0"]}
> 
> and by default the latest kernel version is used.
> 
> 
> We cannot use the crate right away in Firecracker because in the kvm_gen crate (previously named kvm_sys) we also have code that is not auto-generated so the first step for us is to move that code to somewhere else. This step is currently in review [2].
> 
> We still have to figure out some loose-ends and I created some issues for them [3], but it would be nice to get your feedback on this.
> 
> 
> Thanks,
> 
> Andreea
> 
> 
> [1] https://crates.io/crates/kvm_wrapper
> 
> [2] https://github.com/firecracker-microvm/firecracker/pull/816
> 
> [3] https://github.com/andreeaflorescu/kvm_wrapper/issues
> 
> 
> 
> Amazon Development Center (Romania) S.R.L. registered office: 27A Sf. Lazar Street, UBC5, floor 2, Iasi, Iasi County, 700045, Romania. Registered in Romania. Registration number J22/2621/2005.

> _______________________________________________
> Rust-vmm mailing list
> Rust-vmm at lists.opendev.org
> http://lists.opendev.org/cgi-bin/mailman/listinfo/rust-vmm

---------------------------------------------------------------------
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