All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Abd-El-Malek <mabdelmalek@cmu.edu>
To: xen-devel@lists.xensource.com
Subject: Xen bus drivers and the probe function
Date: Tue, 02 Oct 2007 01:39:35 -0400	[thread overview]
Message-ID: <4701D997.5060108@cmu.edu> (raw)

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

             reply	other threads:[~2007-10-02  5:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-02  5:39 Michael Abd-El-Malek [this message]
2007-10-02  5:49 ` Xen bus drivers and the probe function Keir Fraser
2007-10-04 15:50 ` Ryan Riley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4701D997.5060108@cmu.edu \
    --to=mabdelmalek@cmu.edu \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.