commit | ce3a3e8f00e2895e61dbbf2a240ac4e4e5f2fea0 | [log] [tgz] |
---|---|---|
author | Stephen Barber <smbarber@chromium.org> | Mon Jul 24 15:28:41 2017 -0700 |
committer | chrome-bot <chrome-bot@chromium.org> | Mon Jul 24 22:54:04 2017 -0700 |
tree | 04d0f57853dad132685f66f1d9a84ab4052a2a99 | |
parent | bf36bcbc4a843279aebff26666a5ca802a7b37fb [diff] |
sys_util: fix include in sock_ctrl_msg close() is from unistd.h. BUG=none TEST=cargo build Change-Id: I62730c374b016118dececcfd7e2cd009f12611a7 Signed-off-by: Stephen Barber <smbarber@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/583904 Reviewed-by: Zach Reizner <zachr@chromium.org>
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:
kernel_loader
Loads elf64 kernel files to a slice of memory.kvm_sys
low-level (mostly) auto-generated structures and constants for using KVMkvm
unsafe, low-level wrapper code for using kvm_syscrosvm
the top-level binary front-end for using crosvmx86_64
Support code specific to 64 bit intel machines.Currently there is no front-end, so the best you can do is run cargo test
in each crate.