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 4] Replace VM.create_template by VM.clone and VM.c

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] [PATCH 0 of 4] Replace VM.create_template by VM.clone and VM.copy
From: Thomas Gazagnaire <thomas.gazagnaire@xxxxxxxxxx>
Date: Mon, 22 Feb 2010 13:37:08 +0000
Delivery-date: Mon, 22 Feb 2010 05:36:26 -0800
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
VM.create_template is almost a duplicate of VM.clone, as VM.clone was forbidden 
on snapshots;

So now, remove that call and make the VM.clone and VM.copy throw away the 
memory image of snapshots, as VM.create_template did. So now, 
VM.create_template is deprecated.

9 files changed, 51 insertions(+), 47 deletions(-)
ocaml/client_records/record_util.ml |    1 -
ocaml/client_records/records.ml     |    8 ++++----
ocaml/idl/datamodel.ml              |   32 +++++++++++++++++---------------
ocaml/xapi/cli_frontend.ml          |   13 +++++++++++--
ocaml/xapi/cli_operations.ml        |   13 ++++++++-----
ocaml/xapi/message_forwarding.ml    |    5 -----
ocaml/xapi/xapi_vm.ml               |   16 ++++++++--------
ocaml/xapi/xapi_vm.mli              |    2 --
ocaml/xapi/xapi_vm_lifecycle.ml     |    8 +++-----

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api