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 4 of 4] [XIU]: write control/feature-balloon 3s after s

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] [PATCH 4 of 4] [XIU]: write control/feature-balloon 3s after starting a simulated domain
From: David Scott <dave.scott@xxxxxxxxxxxxx>
Date: Tue, 24 Nov 2009 18:34:41 +0000
Delivery-date: Tue, 24 Nov 2009 10:32:14 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <patchbomb.1259087677@xxxxxxxxxxxxxxxxxxxx>
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 1259087101 0
# Node ID 50d0301aa283e2f289891514fd0cce4e787db911
# Parent  3c4e4f66208468379b92ba47ec1e425a6cfc261b
[XIU]: write control/feature-balloon 3s after starting a simulated domain.

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

diff -r 3c4e4f662084 -r 50d0301aa283 ocaml/xiu/xiu.ml
--- a/ocaml/xiu/xiu.ml  Tue Nov 24 18:25:00 2009 +0000
+++ b/ocaml/xiu/xiu.ml  Tue Nov 24 18:25:01 2009 +0000
@@ -421,6 +421,10 @@
                in
 
        with_xs_retry (fun xs ->
+               (* booting *)
+               Thread.delay 3.;
+               xs.Xs.write (mypath ^ "control/feature-balloon") "true";
+
                (* install watches *)
                xs.Xs.watch (mypath ^ "control/shutdown") "control";
                xs.Xs.watch (mypath ^ "device") "device";
1 file changed, 4 insertions(+)
ocaml/xiu/xiu.ml |    4 ++++


Attachment: xen-api.hg-4.patch
Description: Text Data

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