All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mukesh Rathor <mukesh.rathor@oracle.com>
To: Keir Fraser <keir.fraser@eu.citrix.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: xenbus callback probe...
Date: Tue, 16 Dec 2008 19:15:02 -0800	[thread overview]
Message-ID: <49486EB6.3050003@oracle.com> (raw)
In-Reply-To: <C56688F0.2014C%keir.fraser@eu.citrix.com>



Thanks. Now, that I played around a bit, am going in circles trying to
figure how to keep very simple in my messaging driver. Basically,
I'd like to keep it symmetric, no frontend/backend, just one file,
dynamically loadable, kernel driver. When a driver is loaded in domU, it
broadcasts ring-ref/event-chnl and causes dom0 callback to wake up and
act on it. Since domU can't write to /local/domain/0/blah/bleh, is there
some other generic way to broadcast it? I'd like to avoid a user level
script. It almost appears xenbus_watch_path() may allow me to set
callback on /local/domain/*/blah/bleh, but I don't have the
xenbus_device ptr as it seems provided by xenbus_driver{} callbacks.

Thanks in advance,
Mukesh


Keir Fraser wrote:
 > On 11/12/2008 03:14, "Mukesh Rathor" <mukesh.rathor@oracle.com> wrote:
 >
 >> Hi,
 >>
 >> I'm trying to figure what causes a probe callback to happen, any quick
 >> example?
 >
 > New directories appearing in xenstore under /local/domain/x/device/
 >
 >  -- Keir
 >

  reply	other threads:[~2008-12-17  3:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-11  3:14 xenbus callback probe Mukesh Rathor
2008-12-11  9:08 ` Keir Fraser
2008-12-17  3:15   ` Mukesh Rathor [this message]
2008-12-17  8:21     ` Keir Fraser
2008-12-17 19:58       ` Mukesh Rathor

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=49486EB6.3050003@oracle.com \
    --to=mukesh.rathor@oracle.com \
    --cc=keir.fraser@eu.citrix.com \
    --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.