[pve-devel] [PATCH qemu-server] fix call to lock_config and config_file
Thomas Lamprecht
t.lamprecht at proxmox.com
Wed Mar 9 14:34:03 CET 2016
Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---
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.1.4
More information about the pve-devel
mailing list