From: Maximiliano Sandoval <m.sandoval@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [PATCH qemu-server 2/2] config: document default balloon behavior
Date: Thu, 5 Feb 2026 13:52:07 +0100 [thread overview]
Message-ID: <20260205125208.311721-3-m.sandoval@proxmox.com> (raw)
In-Reply-To: <20260205125208.311721-1-m.sandoval@proxmox.com>
The behavior for this key is the following:
- balloning=0: Disabled
- Not defined in the config: Enabled
- balloning=N: Enabled, and target memory set to N MiB
Instead of special-casing balloning=1 (or turning it into a property
string) to enable the drive without setting a target memory size, we
simply document the current behavior better.
Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
---
src/PVE/QemuServer.pm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/PVE/QemuServer.pm b/src/PVE/QemuServer.pm
index 08cb6b98..0395c85b 100644
--- a/src/PVE/QemuServer.pm
+++ b/src/PVE/QemuServer.pm
@@ -315,7 +315,8 @@ my $confdesc = {
optional => 1,
type => 'integer',
description =>
- "Amount of target RAM for the VM in MiB. Using zero disables the balloon driver.",
+ "Amount of target RAM for the VM in MiB. The balloon driver is enabled by default, "
+ . "unless it is explicitly disabled by setting zero as value.",
minimum => 0,
},
shares => {
--
2.47.3
next prev parent reply other threads:[~2026-02-05 12:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-05 12:52 [PATCH qemu-server 0/2] " Maximiliano Sandoval
2026-02-05 12:52 ` [PATCH qemu-server 1/2] config: fix ballon typo on docstring and comments Maximiliano Sandoval
2026-02-05 12:52 ` Maximiliano Sandoval [this message]
2026-02-05 12:54 ` [PATCH qemu-server 2/2] config: document default balloon behavior Maximiliano Sandoval
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260205125208.311721-3-m.sandoval@proxmox.com \
--to=m.sandoval@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox