All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Dan Magenheimer" <dan.magenheimer@oracle.com>
To: Samuel Thibault <samuel.thibault@eu.citrix.com>
Cc: "Xen-Devel (E-mail)" <xen-devel@lists.xensource.com>
Subject: RE: xenbus call too early?
Date: Fri, 2 May 2008 15:25:14 -0600	[thread overview]
Message-ID: <20080502152514828.00000041924@djm-pc> (raw)
In-Reply-To: <20080502164136.GT4432@implementation.uk.xensource.com>

> Dan Magenheimer, le Fri 02 May 2008 10:13:55 -0600, a écrit :
> > I added a xenbus_printk call that causes boot to fail,
> > I suspect because I am calling it before xenbus is up
> > and working.
> >
> > (Same code works fine if called later.)
> >
> > Is there a function that does is_xenbus_ready()?
> > If not, what's the best way to do the equivalent?
> 
> There apparently is a xenstored_ready variable.

Thanks, but hmmm..., it doesn't look like this is accessed
anywhere, nor is it EXPORTed so it wouldn't be accessible
from a module.

>From more code reading, I'm guessing the right way to do
this is to key off of a xenstore_notifier call which
can set the local static equivalent of xenstored_ready.
True?

Thanks,
Dan

  reply	other threads:[~2008-05-02 21:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-02 16:13 xenbus call too early? Dan Magenheimer
2008-05-02 16:41 ` Samuel Thibault
2008-05-02 21:25   ` Dan Magenheimer [this message]
2008-05-03 17:24     ` Mark Williamson

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=20080502152514828.00000041924@djm-pc \
    --to=dan.magenheimer@oracle.com \
    --cc=samuel.thibault@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.