mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-11-04 19:11:11 +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");
|
||||
|
||||
info!(
|
||||
"Generated ACPI tables: took {}µs",
|
||||
Instant::now().duration_since(start_time).as_micros()
|
||||
"Generated ACPI tables: took {}µs size = {}",
|
||||
Instant::now().duration_since(start_time).as_micros(),
|
||||
xsdt_offset.0 + xsdt.len() as u64 - rsdp_offset.0
|
||||
);
|
||||
rsdp_offset
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user