From: harry Subject: Re: xenstore documentation Date: Tue, 04 Oct 2005 13:42:17 +0100 Message-ID: <1128429737.30221.12.camel@localhost.localdomain> References: Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jacob Gorm Hansen Cc: xen-devel@lists.xensource.com, Rami Rosen List-Id: xen-devel@lists.xenproject.org If you look at writeDetails in tools/python/xen/xend/server/DevController.py you'll see the transactions which cause the back and front ends to get probed. The transactions contain extra fields as provided by the derived class specific to the device type and are written into the store in the locations constructed in the frontendPath and backendPath functions in DevController.py. These paths contain the device id string as specified when you registered your xenbus drivers. Looking at the current code, it looks like domainpath/backend/device_class/frontend_uuid/device_id/transaction_stuff_here for the back-end and and domainpath/device_id/transaction_stuff_here for the front-end. HTH Harry. On Tue, 2005-10-04 at 14:20 +0200, Jacob Gorm Hansen wrote: > On 10/4/05, Rami Rosen wrote: > > Hello , > > > > I had written some pages which I had inserted into XenWiki this morning. > > It is in http://wiki.xensource.com/xenwiki/XenIntro. > > Thanks a lot for this work. I suppose my main problem right now is > finding out why the backend probe function is never called. Does > anyone know what the tools in dom0 have to do to trigger the backend > driver probe function? > > Thanks, > Jacob > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel >