gitignore: Remove Cargo.lock

Cargo.lock will need to be checked in to ensure reproducible builds.
However continue to ignore Cargo.lock in subdirectories as the main Cargo.lock
shouls dictate the versions of everything.

Change-Id: I448527b3c23bb9de939682ec1a78fd06a2530857
Signed-off-by: Dylan Reid <>
Reviewed-by: Zach Reizner <>
1 file changed
tree: 3fc7c416cb1985b7ccc5b78e3f924b358b680b94
  1. io_jail/
  2. kernel_loader/
  3. kvm/
  4. kvm_sys/
  5. src/
  6. sys_util/
  7. syscall_defines/
  8. x86_64/
  9. .gitignore

Chrome OS KVM

This component, known as crosvm, runs untrusted operating systems along with virtualized devices. No actual hardware is emulated. This only runs VMs through the Linux's KVM interface. What makes crosvm unique is a focus on safety within the programming language and a sandbox around the virtual devices to protect the kernel from attack in case of an exploit in the devices.


The crosvm source code is organized into crates, each with their own unit tests. These crates are:

  • kvm-sys low-level (mostly) auto-generated structures and constants for using KVM
  • kvm unsafe, low-level wrapper code for using kvm-sys
  • crosvm the top-level binary front-end for using crosvm


Currently there is no front-end, so the best you can do is run cargo test in each crate.