WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-api

[Xen-API] [PATCH 0 of 3] Implement cross-host VDI.copy

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] [PATCH 0 of 3] Implement cross-host VDI.copy
From: David Scott <dave.scott@xxxxxxxxxxxxx>
Date: Mon, 23 Aug 2010 13:06:39 +0100
Delivery-date: Mon, 23 Aug 2010 05:28:13 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mercurial-patchbomb/1.4.3
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