|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] Fix xenstore notifier call chain
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
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |