]> git.proxmox.com Git - qemu-server.git/blobdiff - PVE/CLI/qm.pm
fix call to lock_config and config_file
[qemu-server.git] / PVE / CLI / qm.pm
index 676c5dcdb4f3ba0ae2617979b0c1d60ced2cf81f..2a2e3c490b665863c396b82c265ed20ec147cee1 100755 (executable)
@@ -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