From: Dan Smith Subject: [PATCH] Fix xenstore notifier call chain Date: Mon, 22 Aug 2005 15:17:54 -0700 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "List: Xen Developers" List-Id: xen-devel@lists.xenproject.org --=-=-= This patch replaces the call to notifier_call_chain() in do_xenbus_probe(). This fixes some dom0 activities, such as ballooning, sysrqing, and cpu hotplugging. Signed-off-by: Dan Smith --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=xsnotify.patch diff -r f3859247f2ed linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c --- a/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c Mon Aug 22 19:59:58 2005 +++ b/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c Mon Aug 22 15:11:27 2005 @@ -627,6 +627,8 @@ /* Watch for changes. */ register_xenbus_watch(&fe_watch); register_xenbus_watch(&be_watch); + /* Notify others that xenstore is up */ + notifier_call_chain(&xenstore_chain, 0, 0); up(&xenbus_lock); return 0; } --=-=-= -- Dan Smith IBM Linux Technology Center Open Hypervisor Team email: danms@us.ibm.com --=-=-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --=-=-=--