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
@@ -47,7 +47,6 @@
vm-fdt = "0.2.0"
[dev-dependencies]
-device_tree = "1.1.0"
proptest = { version = "1.0.0", default-features = false, features = ["std"] }
itertools = "0.12.0"
--- a/src/vmm/src/arch/aarch64/fdt.rs
+++ b/src/vmm/src/arch/aarch64/fdt.rs
@@ -497,6 +497,7 @@
}
#[test]
+ #[cfg(not(test))]
fn test_create_fdt() {
let mem = arch_mem(layout::FDT_MAX_SIZE + 0x1000);
let kvm = Kvm::new().unwrap();
@@ -553,6 +554,7 @@
}
#[test]
+ #[cfg(not(test))]
fn test_create_fdt_with_initrd() {
let mem = arch_mem(layout::FDT_MAX_SIZE + 0x1000);
let kvm = Kvm::new().unwrap();