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>
my $params = {
node => $nodename,
vmid => $id,
+ # bug #2241 forces is for local resource only, people can ensure that
+ # different host have the same hardware, so this can be fine, and qemu
+ # knows when not, so can only win here
+ force => 1,
target => $target,
online => $online,
};