crosvm: move device_manager to it's own crate
I will be refactoring this code to mostly live in the architecture
code, but for now it's simpler to move it out into it's own crate.
BUG=chromium:797868
TEST=./build_test passes on all architectures
TEST=crosvm runs on caroline
Change-Id: I85c12696fcd5cbef6a72a6dcbc484a443e0b0784
Signed-off-by: Sonny Rao <sonnyrao@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/933084
diff --git a/Cargo.lock b/Cargo.lock
index 7be1203..523e4e3 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -20,6 +20,7 @@
"byteorder 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
"crosvm_plugin 0.10.0",
"data_model 0.1.0",
+ "device_manager 0.1.0",
"devices 0.1.0",
"io_jail 0.1.0",
"kernel_cmdline 0.1.0",
@@ -56,6 +57,18 @@
version = "0.1.0"
[[package]]
+name = "device_manager"
+version = "0.1.0"
+dependencies = [
+ "devices 0.1.0",
+ "io_jail 0.1.0",
+ "kernel_cmdline 0.1.0",
+ "kvm 0.1.0",
+ "libc 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sys_util 0.1.0",
+]
+
+[[package]]
name = "devices"
version = "0.1.0"
dependencies = [