diff options
author | Zach Reizner <zachr@google.com> | 2018-01-16 17:59:03 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-02-09 19:03:16 -0800 |
commit | 8864cb0f3a9184e2420bbad64c43fcddf161e427 (patch) | |
tree | f15bf8191d19c270d346194515fb47de870a43cc /Cargo.toml | |
parent | de01b8b32f1391acfd298c977bcd20a85d020ebb (diff) | |
download | crosvm-8864cb0f3a9184e2420bbad64c43fcddf161e427.tar crosvm-8864cb0f3a9184e2420bbad64c43fcddf161e427.tar.gz crosvm-8864cb0f3a9184e2420bbad64c43fcddf161e427.tar.bz2 crosvm-8864cb0f3a9184e2420bbad64c43fcddf161e427.tar.lz crosvm-8864cb0f3a9184e2420bbad64c43fcddf161e427.tar.xz crosvm-8864cb0f3a9184e2420bbad64c43fcddf161e427.tar.zst crosvm-8864cb0f3a9184e2420bbad64c43fcddf161e427.zip |
crosvm: add support for plugin process
The plugin process is good for running a VM that depends substantially on devices that aren't implemented inside of crosvm. TEST=cargo build --features plugin; ./build_test BUG=chromium:800626 Change-Id: I7b4f656563742cd0bedc837205dd1240d497941d Reviewed-on: https://chromium-review.googlesource.com/869357 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Tested-by: Zach Reizner <zachr@chromium.org> Reviewed-by: Dylan Reid <dgreid@chromium.org>
Diffstat (limited to 'Cargo.toml')
-rw-r--r-- | Cargo.toml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Cargo.toml b/Cargo.toml index d54ef32..3f63e6e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,12 +10,13 @@ panic = 'abort' [workspace] [features] -plugin = ["plugin_proto", "crosvm_plugin"] +plugin = ["plugin_proto", "crosvm_plugin", "protobuf"] [dependencies] devices = { path = "devices" } io_jail = { path = "io_jail" } kvm = { path = "kvm" } +kvm_sys = { path = "kvm_sys" } sys_util = { path = "sys_util" } kernel_cmdline = { path = "kernel_cmdline" } kernel_loader = { path = "kernel_loader" } @@ -28,7 +29,11 @@ data_model = { path = "data_model" } qcow = { path = "qcow" } plugin_proto = { path = "plugin_proto", optional = true } crosvm_plugin = { path = "crosvm_plugin", optional = true } +protobuf = { version = "=1.4.3", optional = true } qcow_utils = { path = "qcow_utils" } [target.'cfg(target_arch = "x86_64")'.dependencies] x86_64 = { path = "x86_64" } + +[dev-dependencies] +rand = "=0.3.20" |