From: Ewan Mellor Subject: Re: alert message from dom0 to domU Date: Sat, 23 Dec 2006 19:11:17 +0000 Message-ID: <20061223191117.GB9797@leeni.uk.xensource.com> References: <20061223184903.95570.qmail@web34106.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20061223184903.95570.qmail@web34106.mail.mud.yahoo.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Sanjam Garg Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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.