Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
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;
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 $@;
}
}