Skip to content

Commit

Permalink
Merge pull request #7 from jonludlam/fix-build
Browse files Browse the repository at this point in the history
Move xml_http_rpc to Xcp_client
  • Loading branch information
djs55 committed May 16, 2013
2 parents 51183b2 + 114e5df commit 42ff4ca
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 42ff4ca

Please sign in to comment.