mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-09 06:15:19 +00:00
vmm: acpi: Print total size of ACPI tables
This can already be calculated by the summing the tables reported by the Linux kernel but this is more convenient. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
d4192abce1
commit
3b8a017257
@ -771,8 +771,9 @@ pub fn create_acpi_tables(
|
|||||||
.expect("Error writing RSDP");
|
.expect("Error writing RSDP");
|
||||||
|
|
||||||
info!(
|
info!(
|
||||||
"Generated ACPI tables: took {}µs",
|
"Generated ACPI tables: took {}µs size = {}",
|
||||||
Instant::now().duration_since(start_time).as_micros()
|
Instant::now().duration_since(start_time).as_micros(),
|
||||||
|
xsdt_offset.0 + xsdt.len() as u64 - rsdp_offset.0
|
||||||
);
|
);
|
||||||
rsdp_offset
|
rsdp_offset
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user