[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-API] [PATCH] Document the change in behaviour of the VDI.copy call



# 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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.