From 961a3e3bd263522e618c023cb32f49a741fc3b88 Mon Sep 17 00:00:00 2001 From: Florent Carli Date: Sun, 23 Feb 2025 10:33:33 +0100 Subject: [PATCH] guest template: add memory ballooning This helps optimize the host memory utilization Signed-off-by: Florent Carli --- templates/vm/guest.xml.j2 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/templates/vm/guest.xml.j2 b/templates/vm/guest.xml.j2 index ae07a2e21..e9da04d9c 100644 --- a/templates/vm/guest.xml.j2 +++ b/templates/vm/guest.xml.j2 @@ -201,7 +201,13 @@ +{% if "memballoon" in vm.vm_features %} + + + +{% else %} +{% endif %}