# HG changeset patch # User David Scott # 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 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"