All of lore.kernel.org
 help / color / mirror / Atom feed
From: Markus Armbruster <armbru@redhat.com>
To: Ewan Mellor <ewan@xensource.com>
Cc: aliguori <aliguori@mail.utexas.edu>,
	Steven Smith <sos22@cam.ac.uk>,
	xen-devel <xen-devel@lists.xensource.com>,
	sos22@srcf.ucam.org, Jeremy Katz <katzj@redhat.com>
Subject: Re: [PATCH] Paravirt framebuffer frontend kernel support [1/5]
Date: Thu, 02 Nov 2006 13:34:49 +0100	[thread overview]
Message-ID: <87slh2xc0m.fsf@pike.pond.sub.org> (raw)
In-Reply-To: <20061102103643.GB3879@leeni.uk.xensource.com> (Ewan Mellor's message of "Thu, 2 Nov 2006 10:36:43 +0000")

Ewan Mellor <ewan@xensource.com> writes:

> On Thu, Nov 02, 2006 at 11:10:12AM +0100, Markus Armbruster wrote:
>
>> I'm now looking into a conversion to xenbus_driver API.  I started
>> with copying some voodoo from blkfront.c.  My
>> xenbus_register_frontend() succeeds.  Stupid question: what triggers
>> running of the probe function?  Because mine doesn't.
>
> Either the watch firing when the correct entries in the store are written (for
> hotplugging) or it probes those paths at startup.
>
> xenbus/xenbus_probe.c:
>
> frontend_changed ->
> dev_changed ->
> xenbus_probe_node ->
> device_register
>
> or
>
> xenbus_probe_init ->
> xenbus_probe ->
> xenbus_probe_devices ->
> xenbus_probe_device_type ->
> bus->probe ->
> xenbus_probe_frontend ->
> xenbus_probe_node ->
> device_register
>
> The device_register causes a the specific frontend device to be registered,
> which triggers the probe.
>
> HTH,
>
> Ewan.

Okay, thanks.  Next stupid question: I'm looking for a *user space*
xenbus_register_backend().  Where is it?

  reply	other threads:[~2006-11-02 12:34 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-02 19:58 [PATCH] Paravirt framebuffer frontend kernel support [1/5] Jeremy Katz
2006-09-04  9:00 ` Steven Smith
2006-09-04 14:03   ` Keir Fraser
2006-09-05 16:11   ` Jeremy Katz
2006-09-06  9:11     ` Steven Smith
2006-09-06 15:56       ` Keir Fraser
2006-09-21 18:41         ` Markus Armbruster
2006-09-21 19:29           ` Keir Fraser
2006-09-21 19:33           ` Steven Smith
2006-09-10  7:39   ` Markus Armbruster
2006-09-10  9:38     ` Steven Smith
2006-09-30  8:52       ` Markus Armbruster
2006-11-02 10:10         ` Markus Armbruster
2006-11-02 10:36           ` Ewan Mellor
2006-11-02 12:34             ` Markus Armbruster [this message]
2006-11-02 16:19               ` Steven Smith
2006-11-02 16:31                 ` Ewan Mellor
2006-11-03 14:18                   ` Markus Armbruster
2006-11-03 17:01                     ` Steven Smith
2006-11-02 15:02             ` Markus Armbruster
2006-11-02 15:38               ` Ewan Mellor
2006-11-02  7:53       ` Markus Armbruster
2006-11-02  7:58         ` Keir Fraser

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=87slh2xc0m.fsf@pike.pond.sub.org \
    --to=armbru@redhat.com \
    --cc=aliguori@mail.utexas.edu \
    --cc=ewan@xensource.com \
    --cc=katzj@redhat.com \
    --cc=sos22@cam.ac.uk \
    --cc=sos22@srcf.ucam.org \
    --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.