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] Fix camldm after renaming of jsonrpc

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] [PATCH] Fix camldm after renaming of jsonrpc
From: David Scott <dave.scott@xxxxxxxxxxxxx>
Date: Fri, 15 Jan 2010 12:02:46 +0000
Delivery-date: Fri, 15 Jan 2010 03:56:14 -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
# HG changeset patch
# User Jonathan Ludlam <Jonathan.Ludlam@xxxxxxxxxxxxx>
# Date 1263556962 0
# Node ID 2accd4bcf94580f6f744ca18ba7bcc5dfb306adc
# Parent  780d5e8e2e992816c553044cfc8937d3a96c8e8b
Fix camldm after renaming of jsonrpc to rpc-light.json. Also add a datatype 
maybe needed for rpc-light

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

diff -r 780d5e8e2e99 -r 2accd4bcf945 camldm/META.in
--- a/camldm/META.in    Mon Jan 11 17:44:38 2010 +0000
+++ b/camldm/META.in    Fri Jan 15 12:02:42 2010 +0000
@@ -1,5 +1,5 @@
 version = "@VERSION@"
 description = "device-mapper ocaml interface"
-requires = "unix,jsonrpc"
+requires = "unix,rpc-light.json"
 archive(byte) = "camldm.cma"
 archive(native) = "camldm.cmxa"
diff -r 780d5e8e2e99 -r 2accd4bcf945 camldm/camldm.mli
--- a/camldm/camldm.mli Mon Jan 11 17:44:38 2010 +0000
+++ b/camldm/camldm.mli Fri Jan 15 12:02:42 2010 +0000
@@ -17,6 +17,9 @@
 type stripety = { chunk_size : int64; dests : dev array; }
 type mapty = Linear of dev | Striped of stripety
 type mapping = { start : int64; len : int64; map : mapty; }
+type mapping_array = {
+  m : mapping array 
+} 
 type status = {
   exists : bool;
   suspended : bool;
@@ -33,6 +36,8 @@
 exception CreateError of string
 exception ReloadError of string
 
+val rpc_of_mapping_array : mapping_array -> Rpc.t
+val mapping_array_of_rpc : Rpc.t -> mapping_array
 val convert_mapty : mapty -> (string * string) list -> string * string
 val create : string -> mapping array -> (string * string) list -> unit
 val reload : string -> mapping array -> (string * string) list -> unit
2 files changed, 6 insertions(+), 1 deletion(-)
camldm/META.in    |    2 +-
camldm/camldm.mli |    5 +++++


Attachment: xen-api-libs.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] Fix camldm after renaming of jsonrpc, David Scott <=