Skip to content

Commit

Permalink
Move xml_http_rpc to Xcp_client
Browse files Browse the repository at this point in the history
Signed-off-by: Jon Ludlam <[email protected]>
  • Loading branch information
Jon Ludlam committed May 16, 2013
1 parent 51183b2 commit 114e5df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/xenops_server.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1227,7 +1227,7 @@ and perform ?subtask (op: operation) (t: Xenops_task.t) : unit =
then debug "This is a localhost migration.";
Xenops_hooks.vm_pre_migrate ~reason:Xenops_hooks.reason__migrate_source ~id;

let module Remote = Xenops_interface.Client(struct let rpc = xml_http_rpc ~srcstr:"xenops" ~dststr:"dst_xenops" (fun () -> url') end) in
let module Remote = Xenops_interface.Client(struct let rpc = Xcp_client.xml_http_rpc ~srcstr:"xenops" ~dststr:"dst_xenops" (fun () -> url') end) in
let id = Remote.VM.import_metadata t.Xenops_task.dbg(export_metadata vdi_map vif_map id) in
debug "Received id = %s" id;
let memory_url = Uri.make ?scheme:(Uri.scheme url) ?host:(Uri.host url) ?port:(Uri.port url)
Expand Down

0 comments on commit 114e5df

Please sign in to comment.