From 04096e7bdde387423742b36b239362afb0eb927b Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Wed, 9 Mar 2016 14:34:03 +0100 Subject: [PATCH] fix call to lock_config and config_file Signed-off-by: Thomas Lamprecht --- PVE/CLI/qm.pm | 2 +- PVE/VZDump/QemuServer.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PVE/CLI/qm.pm b/PVE/CLI/qm.pm index 676c5dc..2a2e3c4 100755 --- a/PVE/CLI/qm.pm +++ b/PVE/CLI/qm.pm @@ -184,7 +184,7 @@ __PACKAGE__->register_method ({ my $vmid = $param->{vmid}; - PVE::QemuServer::lock_config ($vmid, sub { + PVE::QemuConfig->lock_config ($vmid, sub { my $conf = PVE::QemuConfig->load_config($vmid); delete $conf->{lock}; delete $conf->{pending}->{lock} if $conf->{pending}; # just to be sure diff --git a/PVE/VZDump/QemuServer.pm b/PVE/VZDump/QemuServer.pm index 4309e0b..e6f0560 100644 --- a/PVE/VZDump/QemuServer.pm +++ b/PVE/VZDump/QemuServer.pm @@ -168,7 +168,7 @@ sub resume_vm { sub assemble { my ($self, $task, $vmid) = @_; - my $conffile = PVE::QemuServer::config_file ($vmid); + my $conffile = PVE::QemuConfig->config_file($vmid); my $outfile = "$task->{tmpdir}/qemu-server.conf"; my $firewall_src = "/etc/pve/firewall/$vmid.fw"; -- 2.39.2