Signed-off-by: Stefan Reiter <s.rei...@proxmox.com> --- PVE/Service/pvestatd.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/PVE/Service/pvestatd.pm b/PVE/Service/pvestatd.pm index bad1b73d..d8c86886 100755 --- a/PVE/Service/pvestatd.pm +++ b/PVE/Service/pvestatd.pm @@ -18,6 +18,7 @@ use PVE::Network; use PVE::Cluster qw(cfs_read_file); use PVE::Storage; use PVE::QemuServer; +use PVE::QMP; use PVE::LXC; use PVE::LXC::Config; use PVE::RPCEnvironment; @@ -180,7 +181,7 @@ sub auto_balloning { if ($absdiff > 0) { &$log("BALLOON $vmid to $res->{$vmid} ($diff)\n"); eval { - PVE::QemuServer::vm_mon_cmd($vmid, "balloon", + PVE::QMP::vm_mon_cmd($vmid, "balloon", value => int($res->{$vmid})); }; warn $@ if $@; -- 2.20.1 _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel