]> git.proxmox.com Git - qemu-server.git/commitdiff
report balloon_min in bytes (not MBs)
authorDietmar Maurer <dietmar@proxmox.com>
Wed, 19 Dec 2012 08:08:16 +0000 (09:08 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 19 Dec 2012 08:08:16 +0000 (09:08 +0100)
PVE/QemuServer.pm

index 7cdd64794644b8448ae382a3a0b5146b16c53b63..81a935176aca16e013fd6987f2ddbc72260092cf 100644 (file)
@@ -1963,7 +1963,7 @@ sub vmstatus {
        $d->{maxmem} = $conf->{memory} ? $conf->{memory}*(1024*1024) : 0;
 
        if ($conf->{balloon}) {
-           $d->{balloon_min} = $conf->{balloon};
+           $d->{balloon_min} = $conf->{balloon}*(1024*1024);
            $d->{shares} = $conf->{shares} || 1000;
        }