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

Re: [Xen-devel] alert message from dom0 to domU



On Sat, Dec 23, 2006 at 10:49:03AM -0800, Sanjam Garg wrote:

> Hi
> 
> I need to pass an alert message from a kernel module in dom0 to domU
> kernel(something like a reboot message). How can I do that?

Use xenstore.  Take a look at linux-2.6-xen-sparse/drivers/xen/core/reboot.c
which does exactly what you're looking for.  The domU kernel module watches
the appropriate path in the store, and then dom0 (in this case the tools, but
equally easily the dom0 kernel) writes the message into that path, and the
domU kernel watch is fired.

Ewan.

_______________________________________________
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®.