Skip to content

Commit

Permalink
Merge pull request #1824 from simonjbeaumont/migration-queue
Browse files Browse the repository at this point in the history
Use the per-VM Xenopsd queue name for migration
  • Loading branch information
djs55 committed Jul 10, 2014
2 parents 2473ac7 + c32b843 commit ee97c2e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ocaml/xapi/xapi_vm_migrate.ml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ let with_migrate f =
module XenAPI = Client
module SMAPI = Storage_interface.Client(struct let rpc = Storage_migrate.rpc ~srcstr:"xapi" ~dststr:"smapiv2" Storage_migrate.local_url end)

module XenopsAPI = Xenops_client.Client
open Storage_interface
open Listext
open Fun
Expand All @@ -73,7 +72,7 @@ let rec migrate_with_retries queue_name max try_no dbg vm_uuid xenops_vdi_map xe
let progress = ref "(none yet)" in
let f () =
progress := "XenopsAPI.VM.migrate";
let t1 = XenopsAPI.VM.migrate dbg vm_uuid xenops_vdi_map xenops_vif_map xenops in
let t1 = Client.VM.migrate dbg vm_uuid xenops_vdi_map xenops_vif_map xenops in
progress := "wait_for_task";
let t2 = Xapi_xenops.wait_for_task queue_name dbg t1 in
progress := "success_task";
Expand Down

0 comments on commit ee97c2e

Please sign in to comment.