From fb457954bbb82933b8d8b076e02745c12bbf81cb Mon Sep 17 00:00:00 2001 From: Ruoqing He Date: Fri, 29 Nov 2024 16:39:04 +0800 Subject: [PATCH] arch: Enable fdt_parser and vm-fdt for riscv64 `fdt_parser` and `vm-fdt` crates are required to setup fdt used to boot riscv64 virtual machines, enabling the two crates in target specific dependencies section. Signed-off-by: Ruoqing He --- arch/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/Cargo.toml b/arch/Cargo.toml index a63b5cb59..4c4a727a5 100644 --- a/arch/Cargo.toml +++ b/arch/Cargo.toml @@ -24,6 +24,6 @@ vm-memory = { workspace = true, features = ["backend-bitmap", "backend-mmap"] } vm-migration = { path = "../vm-migration" } vmm-sys-util = { workspace = true, features = ["with-serde"] } -[target.'cfg(target_arch = "aarch64")'.dependencies] +[target.'cfg(any(target_arch = "aarch64", target_arch = "riscv64"))'.dependencies] fdt_parser = { version = "0.1.5", package = "fdt" } vm-fdt = { workspace = true }