]> git.proxmox.com Git - pve-ha-manager.git/commit
fix # 2241: VM resource: allow migration with local device, when not running
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 5 Oct 2019 18:10:27 +0000 (20:10 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 5 Oct 2019 18:17:29 +0000 (20:17 +0200)
commit6e8b0c225405da9472f56fe5c94c94b204259caa
treee62988cf8138c63f1c5a8d92970fea9d60426013
parentdcb4a2a48404a8bf06df41e071fea348d0c971a4
fix # 2241: VM resource: allow migration with local device, when not running

qemu-server ignores the flag if the VM runs, so just set it to true
hardcoded.

People have identical hosts with same HW and want to be able to
relocate VMs in such cases, so allow it here - qemu knows to complain
if it cannot work, as nothing bad happens then (VM stays just were it
is) we can only win, so do it.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/HA/Resources/PVEVM.pm