]> git.proxmox.com Git - qemu-server.git/commit - PVE/QemuServer.pm
fix #4358: destroy_vm: Ignore 'suspended' lock when destroying VM
authorStefan Hanreich <s.hanreich@proxmox.com>
Thu, 5 Jan 2023 14:51:56 +0000 (15:51 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 11 Jan 2023 09:59:32 +0000 (10:59 +0100)
commit30fdf99cffaff191b5e2cfd17c07469a3db84718
tree030274adf4db6f50953f83f85d907a238c5187f6
parentb3a3e92962e238b00532c4d18a51719623d38003
fix #4358: destroy_vm: Ignore 'suspended' lock when destroying VM

Since we can now differentiate between 'suspended' and 'suspending',
it is possible to ignore the 'suspended' lock when destroying a VM.
It shouldn't matter whether the VM is locked because of hibernation
when you want to remove it. Therefore we can safely ignore the lock.
PVE/QemuServer.pm