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] Document the change in behaviour of the VDI.copy call

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] [PATCH] Document the change in behaviour of the VDI.copy call
From: David Scott <dave.scott@xxxxxxxxxxxxx>
Date: Mon, 23 Aug 2010 13:10:25 +0100
Delivery-date: Mon, 23 Aug 2010 05:31:03 -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
# HG changeset patch
# User David Scott <dave.scott@xxxxxxxxxxxxx>
# Date 1282565396 -3600
# Node ID 4aeb389f3b5a2e88c87228094217b7d092ed22ca
# Parent  463083893e26c585f146d2e932699d67b0c48a54
CP-1884: Document the change in behaviour of the VDI.copy call.

Signed-off-by: David Scott <dave.scott@xxxxxxxxxxxxx>

diff -r 463083893e26 -r 4aeb389f3b5a ocaml/idl/datamodel.ml
--- a/ocaml/idl/datamodel.ml    Mon Aug 23 13:09:16 2010 +0100
+++ b/ocaml/idl/datamodel.ml    Mon Aug 23 13:09:56 2010 +0100
@@ -1259,7 +1259,9 @@
 (* VM.Copy *)
 let vm_copy = call
   ~name:"copy"
-  ~in_product_since:rel_rio
+  ~lifecycle:[
+       Published, rel_rio, "Copies a VM to an SR. There must be a host that 
can see both the source and destination SRs simultaneously";
+       Extended, rel_cowley, "The copy can now be performed between any two 
SRs." ]
   ~doc:"Copied the specified VM, making a new VM. Unlike clone, copy does not 
exploits the capabilities of the underlying storage repository in which the 
VM's disk images are stored. Instead, copy guarantees that the disk images of 
the newly created VM will be 'full disks' - i.e. not part of a CoW chain.  This 
function can only be called when the VM is in the Halted State."
   ~result:(Ref _vm, "The reference of the newly created VM.")
   ~params:[
@@ -2555,7 +2557,9 @@
 
 let vdi_copy = call
   ~name:"copy"
-  ~in_product_since:rel_rio
+  ~lifecycle:[
+       Published, rel_rio, "Copies a VDI to an SR. There must be a host that 
can see both the source and destination SRs simultaneously";
+       Extended, rel_cowley, "The copy can now be performed between any two 
SRs." ]
   ~in_oss_since:None
   ~params:[Ref _vdi, "vdi", "The VDI to copy"; Ref _sr, "sr", "The destination 
SR" ]
   ~doc:"Make a fresh VDI in the specified SR and copy the supplied VDI's data 
to the new disk"
 ocaml/idl/datamodel.ml |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)


Attachment: xen-api.hg.patch
Description: Text Data

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-API] [PATCH] Document the change in behaviour of the VDI.copy call, David Scott <=