We do not need passing a target storage as the identity mapping
prefers replicated storage for a replicated disks already, and other
cases do not make sense anyway as they wouldn't work for HA
recovery..
We probably want to check the "really only replicated OK migrations"
in the respective API code paths for the "ha" RPC environment case,
though.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
# different host have the same hardware, so this can be fine, and qemu
# knows when not, so can only win here
force => 1,
+ 'with-local-disks' => 1,
target => $target,
online => $online,
};