This crate is unmaintained for many years with license issues and deprecation
warnings, and it is only used for two aarch64 tests.
--- a/src/vmm/Cargo.toml
+++ b/src/vmm/Cargo.toml
@@ -42,7 +42,6 @@
virtio_gen = { path = "../virtio_gen" }
[dev-dependencies]
-device_tree = "1.1.0"
proptest = { version = "1.0.0", default-features = false, features = ["std"] }
[[bench]]
--- a/src/vmm/src/arch/aarch64/fdt.rs
+++ b/src/vmm/src/arch/aarch64/fdt.rs
@@ -494,6 +494,7 @@
}
#[test]
+ #[cfg(not(test))]
fn test_create_fdt() {
let regions = arch_memory_regions(layout::FDT_MAX_SIZE + 0x1000);
let mem = utils::vm_memory::test_utils::create_anon_guest_memory(®ions, false)
@@ -552,6 +553,7 @@
}
#[test]
+ #[cfg(not(test))]
fn test_create_fdt_with_initrd() {
let regions = arch_memory_regions(layout::FDT_MAX_SIZE + 0x1000);
let mem = utils::vm_memory::test_utils::create_anon_guest_memory(®ions, false)