freebsd-dev/sys/xen/xenbus
Roger Pau Monné 8dee0e9bd6 xen: add support for canceled suspend
When running on Xen, it's possible that a suspend request to the hypervisor
fails (return from HYPERVISOR_suspend different than 0). This means that the
suspend hasn't succeed, and the resume procedure needs to properly handle this
case.

First of all, when such situation happens there's no need to reset the vector
callback, hypercall page, shared info, event channels or grant table, because
it's state is preserved. Also, the PV drivers don't need to be reset to the
initial state, since the connection with the backed has not been interrupted.

Submitted by:		Liuyingdong <liuyingdong@huawei.com>
Reviewed by:		royger
MFC after:		2 weeks
Differential revision:	https://reviews.freebsd.org/D9635
2017-03-07 09:16:51 +00:00
..
xenbus_if.m
xenbus.c
xenbusb_back.c
xenbusb_front.c
xenbusb_if.m
xenbusb.c xen: add support for canceled suspend 2017-03-07 09:16:51 +00:00
xenbusb.h "Buses" is the preferred plural of "bus" 2017-01-15 17:54:01 +00:00
xenbusvar.h