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-devel

RE: [Xen-devel] how to read value from xenstore inside kernel

To: "Kuriakose Mathew" <kmathew123@xxxxxxxxx>
Subject: RE: [Xen-devel] how to read value from xenstore inside kernel
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Fri, 28 Aug 2009 21:57:27 +1000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Delivery-date: Fri, 28 Aug 2009 04:58:27 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <9e81bde0908280451j5afd68bn2ad99db9866d4276@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <9e81bde0908162340h42011f5cn7606c962fda89da4@xxxxxxxxxxxxxx> <20090817143826.GA4551@xxxxxxxxxxxxxxxxxxx> <9e81bde0908171055q5504683cm19cb2c70e24dfb88@xxxxxxxxxxxxxx> <20090817182023.GA6144@xxxxxxxxxxxxxxxxxxx> <9e81bde0908250357j5678af58ob56633561bf5a2bb@xxxxxxxxxxxxxx> <AEC6C66638C05B468B556EA548C1A77D0177CE13@trantor> <9e81bde0908280152r35c7b06ck866ab69487e0aa16@xxxxxxxxxxxxxx> <AEC6C66638C05B468B556EA548C1A77D0177CEF6@trantor> <9e81bde0908280441h2961f63bkf858c6812caeb81e@xxxxxxxxxxxxxx> <AEC6C66638C05B468B556EA548C1A77D0177CEF8@trantor> <9e81bde0908280451j5afd68bn2ad99db9866d4276@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acon1fNPngw8u45nS9mBJekASM6bAwAAKicA
Thread-topic: [Xen-devel] how to read value from xenstore inside kernel
> 
> The .node  member I initialized while declaring  and .callback I
initialized
> in netbacl init function (just above where I use register_xenbus_watch
)as
> shown below. (used balloon.c as guideline)
> 

Try adding the watch (or just a read as a test) in netback/xenbus.c
inside the connect() function where a lot of other xenbus activity is
happening

James

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel