Skip to content

Commit c912a45

Browse files
committed
CA-85255: on inter-pool migrate prechecks, simulate a live migrate
Signed-off-by: Thomas Gazagnaire <[email protected]>
1 parent c85a260 commit c912a45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ocaml/xapi/xapi_vm_migrate.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ let assert_can_migrate ~__context ~vm ~dest ~live ~vdi_map ~vif_map ~options =
555555
Cpuid_helpers.assert_vm_is_compatible ~__context ~vm ~host:dest_host_ref
556556
~remote:(remote_rpc, session_id) ();
557557
(* Ignore vdi_map for now since we won't be doing any mirroring. *)
558-
try inter_pool_metadata_transfer ~__context ~remote_rpc ~session_id ~remote_address ~vm ~vdi_map:[] ~dry_run:true ~live
558+
try inter_pool_metadata_transfer ~__context ~remote_rpc ~session_id ~remote_address ~vm ~vdi_map:[] ~dry_run:true ~live:true
559559
with Xmlrpc_client.Connection_reset ->
560560
raise (Api_errors.Server_error(Api_errors.cannot_contact_host, [remote_address]))
561561

0 commit comments

Comments
 (0)