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? Sanjam __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
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@lists.xensource.com http://lists.xensource.com/xen-devel
> 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?What sort of message are you trying to send? Whatever you''re doing, the answer will probably be XenStore ;-) But are you trying to send commands to the guest, or do you want to actually want to communicate some kind of textual message? Cheers, Mark _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel