]> git.proxmox.com Git - qemu-server.git/commitdiff
schema: memory: be precise that unit is binary prefix
authorFiona Ebner <f.ebner@proxmox.com>
Mon, 23 Jan 2023 09:46:38 +0000 (10:46 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 24 Jan 2023 16:09:52 +0000 (17:09 +0100)
In the web UI, this was fixed years ago by pve-manager commit c11c4a40
("fix #1631: change units to binary prefix").

Quickly checked with the 'query-memory-size-summary' QMP command that
this is actually the case.

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
PVE/QemuServer.pm

index 99242d54c80a42285ef3240cbf159b3d767e6fb4..6a29d1bf0e1625c3a6e5464f496caa63e8315213 100644 (file)
@@ -342,7 +342,7 @@ my $confdesc = {
     memory => {
        optional => 1,
        type => 'integer',
-       description => "Amount of RAM for the VM in MB. This is the maximum available memory when"
+       description => "Amount of RAM for the VM in MiB. This is the maximum available memory when"
            ." you use the balloon device.",
        minimum => 16,
        default => 512,
@@ -350,7 +350,7 @@ my $confdesc = {
     balloon => {
        optional => 1,
        type => 'integer',
-       description => "Amount of target RAM for the VM in MB. Using zero disables the ballon driver.",
+       description => "Amount of target RAM for the VM in MiB. Using zero disables the ballon driver.",
        minimum => 0,
     },
     shares => {