File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -834,8 +834,8 @@ let assert_can_migrate ~__context ~vm ~dest ~live ~vdi_map ~vif_map ~options =
834834 let snapshot = Helpers. get_boot_record ~__context ~self: vm in
835835 Xapi_vm_helpers. assert_can_boot_here ~__context ~self: vm ~host ~snapshot ~do_sr_check: false () ;
836836 if vif_map <> [] then
837- raise (Api_errors. Server_error (Api_errors. not_implemented , [
838- " VIF mapping is not supported for intra-pool migration" ]))
837+ raise (Api_errors. Server_error (Api_errors. operation_not_allowed , [
838+ " VIF mapping is not allowed for intra-pool migration" ]))
839839 | `cross_pool remote_rpc ->
840840 (* Prevent VMs from being migrated onto a host with a lower platform version *)
841841 let host_to = Helpers. RemoteObject (remote_rpc, session_id, dest_host_ref) in
You can’t perform that action at this time.
0 commit comments