Skip to content

Commit e2147e4

Browse files
author
szy
committed
update log
1 parent b0d9bf7 commit e2147e4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/vmm/fdt/create.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,11 @@ pub fn update_fdt(fdt_src: NonNull<u8>, dtb_size: usize, vm: VMRef) {
318318
// crate::vmm::fdt::print::print_guest_fdt(new_fdt_bytes.as_slice());
319319
let vm_clone = vm.clone();
320320
let dest_addr = calculate_dtb_load_addr(vm, new_fdt_bytes.len());
321-
info!("New FDT will be loaded at {:x}", dest_addr);
321+
info!(
322+
"New FDT will be loaded at {:x}, size: 0x{:x}",
323+
dest_addr,
324+
new_fdt_bytes.len()
325+
);
322326
// Load the updated FDT into VM
323327
load_vm_image_from_memory(&new_fdt_bytes, dest_addr, vm_clone)
324328
.expect("Failed to load VM images");

0 commit comments

Comments
 (0)