mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-11-02 19:37:32 +00:00
fix call to lock_config and config_file
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
6a9f1025d4
commit
04096e7bdd
@ -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
|
||||
|
||||
@ -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";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user