diff --git a/vmm/src/memory_manager.rs b/vmm/src/memory_manager.rs index 87d510231..826575596 100644 --- a/vmm/src/memory_manager.rs +++ b/vmm/src/memory_manager.rs @@ -1265,7 +1265,7 @@ impl MemoryManager { } } HotplugMethod::Acpi => { - if desired_ram >= self.current_ram { + if desired_ram > self.current_ram { region = Some(self.hotplug_ram_region((desired_ram - self.current_ram) as usize)?); self.current_ram = desired_ram;