Skip to content

Commit e24078e

Browse files
SuperSandro2000astro
authored andcommitted
cloud-hypervisor: don't add normal memory to hotplug memory
1 parent 2413d1f commit e24078e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/runners/cloud-hypervisor.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ let
4141
}
4242
# add ballooning options and override 'size' key
4343
// lib.optionalAttrs useHotPlugMemory {
44-
size = "${toString (mem + hotplugMem)}M";
44+
size = "${toString hotplugMem}M";
4545
hotplug_method = "virtio-mem";
4646
hotplug_size = "${toString hotplugMem}M";
4747
hotplugged_size = "${toString hotpluggedMem}M";

0 commit comments

Comments
 (0)