diff options
author | gibbs <gibbs@FreeBSD.org> | 2011-09-20 23:44:34 +0000 |
---|---|---|
committer | gibbs <gibbs@FreeBSD.org> | 2011-09-20 23:44:34 +0000 |
commit | 44b315b7fba0d3c49e1c4105b487818147889198 (patch) | |
tree | 6b8fcd349b3da3727d19a4671541e3c2563ca2d8 /lib/libc/stdlib/a64l.c | |
parent | 100c4e486409077285a2380623bf6686932020dc (diff) | |
download | FreeBSD-src-44b315b7fba0d3c49e1c4105b487818147889198.zip FreeBSD-src-44b315b7fba0d3c49e1c4105b487818147889198.tar.gz |
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
Diffstat (limited to 'lib/libc/stdlib/a64l.c')
0 files changed, 0 insertions, 0 deletions