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

[Xen-devel] [PATCH] Fix xenstore notifier call chain


  • To: "List: Xen Developers" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Dan Smith <danms@xxxxxxxxxx>
  • Date: Mon, 22 Aug 2005 15:17:54 -0700
  • Delivery-date: Mon, 22 Aug 2005 22:34:25 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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 <danms@xxxxxxxxxx>

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@xxxxxxxxxx

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