diff --git a/Cargo.lock b/Cargo.lock index 08540c49b..34cf622d9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -72,6 +72,7 @@ dependencies = [ "serde", "serde_derive", "serde_json", + "thiserror", "vm-memory", "vm-migration", ] diff --git a/arch/Cargo.toml b/arch/Cargo.toml index 6efa1a0b3..75e1cc35a 100644 --- a/arch/Cargo.toml +++ b/arch/Cargo.toml @@ -8,7 +8,9 @@ default = [] acpi = ["acpi_tables"] [dependencies] +acpi_tables = { path = "../acpi_tables", optional = true } anyhow = "1.0" +arch_gen = { path = "../arch_gen" } byteorder = "1.3.4" hypervisor = { path = "../hypervisor" } libc = "0.2.86" @@ -16,10 +18,9 @@ log = "0.4.14" serde = {version = ">=1.0.27", features = ["rc"] } serde_derive = ">=1.0.27" serde_json = ">=1.0.9" +thiserror = "1.0" vm-memory = { version = "0.5.0", features = ["backend-mmap"] } vm-migration = { path = "../vm-migration" } -acpi_tables = { path = "../acpi_tables", optional = true } -arch_gen = { path = "../arch_gen" } [dependencies.linux-loader] git = "https://github.com/rust-vmm/linux-loader" diff --git a/arch/src/lib.rs b/arch/src/lib.rs index 8ee09eb9d..ef5810690 100644 --- a/arch/src/lib.rs +++ b/arch/src/lib.rs @@ -25,6 +25,7 @@ extern crate vm_migration; #[macro_use] extern crate serde_derive; extern crate serde_json; +extern crate thiserror; use std::fmt; use std::result;