diff options
author | Zach Reizner <zachr@google.com> | 2017-05-01 17:57:18 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-07-05 21:54:52 -0700 |
commit | 639d96775c5de91f1025456d7e7ee914f5661291 (patch) | |
tree | 96a08d131e29883a2471d1032b239bd772964275 /Cargo.toml | |
parent | 61e2a71b327b7a2229f15aaa5bf462b77aab9eb5 (diff) | |
download | crosvm-639d96775c5de91f1025456d7e7ee914f5661291.tar crosvm-639d96775c5de91f1025456d7e7ee914f5661291.tar.gz crosvm-639d96775c5de91f1025456d7e7ee914f5661291.tar.bz2 crosvm-639d96775c5de91f1025456d7e7ee914f5661291.tar.lz crosvm-639d96775c5de91f1025456d7e7ee914f5661291.tar.xz crosvm-639d96775c5de91f1025456d7e7ee914f5661291.tar.zst crosvm-639d96775c5de91f1025456d7e7ee914f5661291.zip |
crosvm: Add crosvm main program
This program is used to boot a 64-bit kernel elf. It has support for basic devices that are exposed to the kernel, including a block device. TEST=cargo test; cargo run -- -m 512 -c 4 -d rootfs.squashfs -u -p "init=/bin/bash" vmlinux BUG=chromium:712319 Change-Id: I25a8349a4624d8643fefe2ad70e517fe03b16b8c Reviewed-on: https://chromium-review.googlesource.com/514417 Commit-Ready: Zach Reizner <zachr@chromium.org> Tested-by: Zach Reizner <zachr@chromium.org> Reviewed-by: Dylan Reid <dgreid@chromium.org>
Diffstat (limited to 'Cargo.toml')
-rw-r--r-- | Cargo.toml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..1393a6d --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,20 @@ +[package] +name = "crosvm" +version = "0.1.0" +authors = ["The Chromium OS Authors"] + +[profile.release] +lto = true +panic = 'abort' + +[dependencies] +kvm = { path = "kvm" } +sys_util = { path = "sys_util" } +x86_64 = { path = "x86_64" } +kernel_loader = { path = "kernel_loader" } +libc = "0.2.21" +byteorder = "1" + +[dependencies.clap] +version = "*" +default-features = false |