[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-devel] xenbus call too early?



> 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


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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.