[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Xen-API] [PATCH 0 of 3] Implement cross-host VDI.copy
Implement cross-host VDI.copy
The pool master forwards the VDI.copy call to a host which can access the
source SR.
If the host can also see the destination SR then the usual 'dd-like' copy
implementation is used.
If the host cannot see the destination SR then the import_raw_vdi HTTP handler
is used instead.
ocaml/xapi/OMakefile | 1 +
ocaml/xapi/import_raw_vdi.ml | 9 ++-
ocaml/xapi/importexport.ml | 1 +
ocaml/xapi/sparse_encoding.ml | 122 +++++++++++++++++++++++++++++++++
ocaml/xapi/import_raw_vdi.ml | 36 ++++++---
ocaml/xapi/message_forwarding.ml | 4 +-
ocaml/xapi/sm_fs_ops.ml | 140 +++++++++++++++++++++++++++++---------
ocaml/xapi/sparse_encoding.ml | 5 +-
ocaml/xapi/xapi_vdi.ml | 7 +-
ocaml/xapi/message_forwarding.ml | 8 +-
ocaml/xapi/sm_fs_ops.ml | 2 +-
ocaml/xapi/xapi_fist.ml | 3 +
12 files changed, 275 insertions(+), 63 deletions(-)
_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api
|