Skip to contentSkip to conversation

Fix xenstore notifier call chain

PATCH In review Dan Smith 2 participants 2 messages Aug 22, 2005 – Aug 23, 2005

lore
Share & tools
lore

Dan Smith

author
#0 lore raw

PATCH 1/1 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.

linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c +2 -0
diff -r f3859247f2ed linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c
@@ -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;
 }
Signature · 5 lines
-- 
Dan Smith
IBM Linux Technology Center
Open Hypervisor Team
email: [email protected]

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel