<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!--P{margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hey everyone,</p>
<p><br>
</p>
<p>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:</p>
<pre class=" language-undefined"><code class=" language-undefined">kvm_wrapper = { version = "0.1.0", features = ["kvm_v4_14_0"]}</code></pre>
<p>and by default the latest kernel version is used.</p>
<p><br>
</p>
<p>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].</p>
<p>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.<br>
</p>
<p><br>
</p>
<p>Thanks,</p>
<p>Andreea<br>
</p>
<p><br>
</p>
<p>[1] <a href="https://crates.io/crates/kvm_wrapper">https://crates.io/crates/kvm_wrapper</a></p>
<p>[2] <a href="https://github.com/firecracker-microvm/firecracker/pull/816">https://github.com/firecracker-microvm/firecracker/pull/816</a><br>
</p>
<p>[3] <a href="https://github.com/andreeaflorescu/kvm_wrapper/issues">https://github.com/andreeaflorescu/kvm_wrapper/issues</a><br>
</p>
<p></p>
<p><br>
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.</p>
</body>
</html>