Signed-off-by: Stefan Reiter <[email protected]>
---
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..ad651a34 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::QemuServer::Monitor;
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::QemuServer::Monitor::mon_cmd($vmid, "balloon",
value => int($res->{$vmid}));
};
warn $@ if $@;
--
2.20.1
_______________________________________________
pve-devel mailing list
[email protected]
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel