freebsd-dev/sys/xen
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
..
evtchn Add xenpic_dynirq_disable_intr and set it as the .pic_disable_intr method 2010-12-30 01:28:56 +00:00
interface Monitor and emit events for XenStore changes to XenBus trees 2011-06-11 04:59:01 +00:00
xenbus Properly handle suspend/resume events in the Xen device 2011-09-20 23:44:34 +00:00
xenstore Properly handle suspend/resume events in the Xen device 2011-09-20 23:44:34 +00:00
blkif.h Improve the Xen para-virtualized device infrastructure of FreeBSD: 2010-10-19 20:53:30 +00:00
evtchn.h merge 186535, 186537, and 186538 from releng_7_xen 2008-12-29 06:31:03 +00:00
features.c Merge in support for Xen HVM on amd64 architecture. 2009-03-11 15:30:12 +00:00
features.h Merge in support for Xen HVM on amd64 architecture. 2009-03-11 15:30:12 +00:00
gnttab.c Improve the Xen para-virtualized device infrastructure of FreeBSD: 2010-10-19 20:53:30 +00:00
gnttab.h Improve the Xen para-virtualized device infrastructure of FreeBSD: 2010-10-19 20:53:30 +00:00
hypervisor.h Merge in support for Xen HVM on amd64 architecture. 2009-03-11 15:30:12 +00:00
xen_intr.h Improve the Xen para-virtualized device infrastructure of FreeBSD: 2010-10-19 20:53:30 +00:00