[pve-devel] [PATCH v4 manager 8/8] refactor: vm_mon_cmd is now Monitor::mon_cmd
Stefan Reiter
s.reiter at proxmox.com
Tue Nov 19 12:23:51 CET 2019
Signed-off-by: Stefan Reiter <s.reiter at proxmox.com>
---
Requires a depends on qemu-server.
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 7243702f..92d94809 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;
@@ -154,7 +155,7 @@ sub auto_balloning {
next if $target == $current; # no need to change
$log->("BALLOON $vmid to $target (%d)\n", $target - $current);
- eval { PVE::QemuServer::vm_mon_cmd($vmid, "balloon", value => $target) };
+ eval { PVE::QemuServer::Monitor::mon_cmd($vmid, "balloon", value => $target) };
warn $@ if $@;
}
}
--
2.20.1
More information about the pve-devel
mailing list