mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-07 11:10:24 +00:00
report balloon_min in bytes (not MBs)
This commit is contained in:
parent
8d9ae0d21e
commit
4bdb05142c
@ -1963,7 +1963,7 @@ sub vmstatus {
|
|||||||
$d->{maxmem} = $conf->{memory} ? $conf->{memory}*(1024*1024) : 0;
|
$d->{maxmem} = $conf->{memory} ? $conf->{memory}*(1024*1024) : 0;
|
||||||
|
|
||||||
if ($conf->{balloon}) {
|
if ($conf->{balloon}) {
|
||||||
$d->{balloon_min} = $conf->{balloon};
|
$d->{balloon_min} = $conf->{balloon}*(1024*1024);
|
||||||
$d->{shares} = $conf->{shares} || 1000;
|
$d->{shares} = $conf->{shares} || 1000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user