[pve-devel] [PATCH v3 manager 8/8] refactor: vm_mon_cmd is now Monitor::mon_cmd

Stefan Reiter s.reiter at proxmox.com
Mon Nov 4 14:57:33 CET 2019


Signed-off-by: Stefan Reiter <s.reiter at 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..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





More information about the pve-devel mailing list