Skip to content

Commit c32b843

Browse files
Use the per-VM Xenopsd queue name for migration
1 parent 9abf1c7 commit c32b843

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ocaml/xapi/xapi_vm_migrate.ml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ let with_migrate f =
5353
module XenAPI = Client
5454
module SMAPI = Storage_interface.Client(struct let rpc = Storage_migrate.rpc ~srcstr:"xapi" ~dststr:"smapiv2" Storage_migrate.local_url end)
5555

56-
module XenopsAPI = Xenops_client.Client
5756
open Storage_interface
5857
open Listext
5958
open Fun
@@ -73,7 +72,7 @@ let rec migrate_with_retries queue_name max try_no dbg vm_uuid xenops_vdi_map xe
7372
let progress = ref "(none yet)" in
7473
let f () =
7574
progress := "XenopsAPI.VM.migrate";
76-
let t1 = XenopsAPI.VM.migrate dbg vm_uuid xenops_vdi_map xenops_vif_map xenops in
75+
let t1 = Client.VM.migrate dbg vm_uuid xenops_vdi_map xenops_vif_map xenops in
7776
progress := "wait_for_task";
7877
let t2 = Xapi_xenops.wait_for_task queue_name dbg t1 in
7978
progress := "success_task";

0 commit comments

Comments
 (0)