From 9dd107bb038a505c83887783d0394db5d8a83f09 Mon Sep 17 00:00:00 2001 From: Michael Zhao Date: Tue, 5 Apr 2022 12:05:26 +0800 Subject: [PATCH] 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 --- tests/integration.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tests/integration.rs b/tests/integration.rs index d826160ff..ca214d3eb 100644 --- a/tests/integration.rs +++ b/tests/integration.rs @@ -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 {}",