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] Increase the number of domain info structs returned pe

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] [PATCH] Increase the number of domain info structs returned per call from 2 to 100
From: David Scott <dave.scott@xxxxxxxxxxxxx>
Date: Fri, 4 Dec 2009 17:11:00 +0000
Delivery-date: Fri, 04 Dec 2009 09:06:00 -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 David Scott <dave.scott@xxxxxxxxxxxxx>
# Date 1259946594 0
# Node ID 33811c04f39c20e549e00cd1fd5b4451bf17bc40
# Parent  8460214cfcd7ba7e61c15d38ec21757a7e0e07d9
CA-35397: Increase the number of domain info structs returned per call from 2 
to 100.

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

diff -r 8460214cfcd7 -r 33811c04f39c xc/xc.ml
--- a/xc/xc.ml  Thu Nov 26 14:39:06 2009 +0000
+++ b/xc/xc.ml  Fri Dec 04 17:09:54 2009 +0000
@@ -156,7 +156,7 @@
        = "stub_xc_domain_getinfolist"
 
 let domain_getinfolist handle first_domain =
-       let nb = 2 in
+       let nb = 100 in
        let last_domid l = (List.hd l).domid + 1 in
        let rec __getlist from =
                let l = _domain_getinfolist handle from nb in
1 file changed, 1 insertion(+), 1 deletion(-)
xc/xc.ml |    2 +-


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] Increase the number of domain info structs returned per call from 2 to 100, David Scott <=