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] Add missing edition "XD"

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] [PATCH] Add missing edition "XD"
From: Zheng Li <dev@xxxxxxxx>
Date: Fri, 23 Apr 2010 18:38:41 -0000
Delivery-date: Fri, 23 Apr 2010 11:39:38 -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.3.1
"XD" edition seems to be missing here. The more interesting thing is that when 
we fail because of this bug, the log file will say "unknown edition" as 
expected, but the cli's error message will say "daemon was not found".


Signed-off-by: Zheng Li <dev@xxxxxxxx>


 ocaml/license/fakev6.ml |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


diff -r 7b6380fd1068 -r b986b406898f ocaml/license/fakev6.ml
--- a/ocaml/license/fakev6.ml   Fri Apr 23 18:54:31 2010 +0100
+++ b/ocaml/license/fakev6.ml   Fri Apr 23 19:30:04 2010 +0100
@@ -17,7 +17,7 @@
 
 let initialise address port edition =
        (* check edition  *)
-       if not (List.mem edition ["STD"; "ADV"; "ENT"; "PLT"]) then
+       if not (List.mem edition ["STD"; "ADV"; "ENT"; "XD"; "PLT"]) then
                failwith "unknown edition";
 
        ("real", Int32.of_int (-1))

Attachment: xen-api.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] Add missing edition "XD", Zheng Li <=