diff --git a/src/vmm/src/arch/aarch64/fdt.rs b/src/vmm/src/arch/aarch64/fdt.rs index 60f811ed534..90f70dae058 100644 --- a/src/vmm/src/arch/aarch64/fdt.rs +++ b/src/vmm/src/arch/aarch64/fdt.rs @@ -513,7 +513,7 @@ mod tests { let kvm = Kvm::new().unwrap(); let vm = kvm.create_vm().unwrap(); let gic = create_gic(&vm, 1, None).unwrap(); - create_fdt( + let fdt_with_devices = create_fdt( &mem, vec![0], CString::new("console=tty0").unwrap(), @@ -533,7 +533,7 @@ mod tests { let kvm = Kvm::new().unwrap(); let vm = kvm.create_vm().unwrap(); let gic = create_gic(&vm, 1, None).unwrap(); - create_fdt( + let fdt_with_vmgenid = create_fdt( &mem, vec![0], CString::new("console=tty0").unwrap(), diff --git a/src/vmm/src/arch/aarch64/mod.rs b/src/vmm/src/arch/aarch64/mod.rs index 7ed72789325..c526e59cad5 100644 --- a/src/vmm/src/arch/aarch64/mod.rs +++ b/src/vmm/src/arch/aarch64/mod.rs @@ -64,7 +64,7 @@ pub fn configure_system, initrd: &Option, ) -> Result<(), ConfigurationError> { - fdt::create_fdt( + let fdt = fdt::create_fdt( guest_mem, vcpu_mpidr, cmdline_cstring,