fix call to lock_config and config_file

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2016-03-09 14:34:03 +01:00 committed by Dietmar Maurer
parent 6a9f1025d4
commit 04096e7bdd
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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";