Justin T. Gibbs 2ca7463bc7 Properly handle suspend/resume events in the Xen device
framework.

Sponsored by:	BQ Internet

sys/xen/xenbus/xenbusb.c:
	o In xenbusb_resume(), publish the state transition of the
	  resuming device into XenbusStateIntiailising so that the
	  remote peer can see it.  Recording the state locally is
	  not sufficient to trigger a re-connect sequence.
	o In xenbusb_resume(), defer new-bus resume processing until
	  after the remote peer's XenStore address has been updated.
	  The drivers may need to refer to this information during
	  resume processing.

sys/xen/xenbus/xenbusb_back.c:
sys/xen/xenbus/xenbusb_front.c:
	Register xenbusb_resume() rather than bus_generic_resume()
	as the handler for device_resume events.

sys/xen/xenstore/xenstore.c:
	o Fix grammer in a comment.
	o In xs_suspend(), pass suspend events on to the child
	  devices (e.g. xenbusb_front/back, that are attached
	  to the XenStore.

Approved by:	re
MFC after:	1 week
2011-09-20 23:44:34 +00:00
..
2011-05-19 23:13:08 +00:00
2011-06-28 08:36:48 +00:00
2011-02-21 09:01:34 +00:00
2010-10-13 17:38:23 +00:00
2010-10-13 17:38:23 +00:00
2011-02-21 09:01:34 +00:00
2011-03-25 20:53:02 +00:00
2011-06-28 08:36:48 +00:00
2011-04-23 23:11:44 +00:00
2011-06-28 08:36:48 +00:00
2011-02-21 09:01:34 +00:00
2011-04-22 13:56:21 +00:00
2011-06-28 08:36:48 +00:00
2010-01-03 23:26:29 +00:00
2011-06-28 08:36:48 +00:00
2010-10-13 14:41:52 +00:00
2010-01-08 20:40:28 +00:00
2011-02-21 09:01:34 +00:00
2011-03-24 08:56:12 +00:00
2011-07-11 05:19:28 +00:00
2011-05-15 13:17:08 +00:00
2010-01-28 08:41:30 +00:00
2011-08-10 19:05:22 +00:00
2011-04-22 00:44:27 +00:00
2011-06-28 08:36:48 +00:00
2011-02-21 09:01:34 +00:00
2011-06-12 23:33:08 +00:00
2011-06-28 08:36:48 +00:00
2011-04-22 12:46:39 +00:00
2010-01-28 08:41:30 +00:00
2011-02-21 09:01:34 +00:00
2011-05-03 15:58:24 +00:00
2011-06-21 22:17:28 +00:00