mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-03-20 07:58:55 +00:00
tests: Revert the impact for the hidden 4MiB RAM
We modified a test case to workaround the RAM calculation error caused by hidding 4MiB memory for UEFI. Now change it back to normal. Signed-off-by: Michael Zhao <michael.zhao@arm.com>
This commit is contained in:
parent
6e562eb1e7
commit
9dd107bb03
@ -4313,12 +4313,6 @@ mod parallel {
|
||||
thread::sleep(std::time::Duration::new(20, 0));
|
||||
|
||||
let r = std::panic::catch_unwind(|| {
|
||||
// On AArch64 when acpi is enabled, there is a 4 MiB gap between the RAM
|
||||
// that the VMM gives and the guest can see.
|
||||
// This is a temporary solution, will be fixed in future.
|
||||
#[cfg(target_arch = "aarch64")]
|
||||
let guest_memory_size_kb = guest_memory_size_kb - 4 * 1024;
|
||||
|
||||
let overhead = get_vmm_overhead(child.id(), guest_memory_size_kb);
|
||||
eprintln!(
|
||||
"Guest memory overhead: {} vs {}",
|
||||
|
Loading…
x
Reference in New Issue
Block a user