[pve-devel] [PATCH v2 manager 11/11] refactor: vm_mon_cmd was moved to PVE::QMP
Stefan Reiter
s.reiter at proxmox.com
Mon Oct 28 12:59:23 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..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
More information about the pve-devel
mailing list