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

[Xen-devel] Xen bus drivers and the probe function

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Xen bus drivers and the probe function
From: Michael Abd-El-Malek <mabdelmalek@xxxxxxx>
Date: Tue, 02 Oct 2007 01:39:35 -0400
Delivery-date: Mon, 01 Oct 2007 22:40:07 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.6 (Windows/20070728)
Hello,

I'm writing a split driver for XenBus. My understanding is that this is the "Xen way" for inter-domain discovery, bootstrapping the process by sharing grants and event channels.

When I look at the block driver, the probe method of the front- and back-ends seems to be doing the bulk of the initialization work. In my sample driver, however, my probe function isn't called. My module gets inserted and the initialization function correctly installs the XenBus driver.

Can someone please explain when the probe function is supposed to be called? If there's no physical device "backing" the virtual device (i.e., virtual block driver is a counterexample), should I be relying on the probe method in the first place?

Thanks,
Mike

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

<Prev in Thread] Current Thread [Next in Thread>