linux/drivers/xen/xenbus
Aurelien Chartier 2abb274629 xenbus: delay xenbus frontend resume if xenstored is not running
If the xenbus frontend is located in a domain running xenstored, the device
resume is hanging because it is happening before the process resume. This
patch adds extra logic to the resume code to check if we are the domain
running xenstored and delay the resume if needed.

Signed-off-by: Aurelien Chartier <aurelien.chartier@citrix.com>
[Changes in v2:
- Instead of bypassing the resume, process it in a workqueue]
[Changes in v3:
- Add a struct work in xenbus_device to avoid dynamic allocation
- Several small code fixes]
[Changes in v4:
- Use a dedicated workqueue]
[Changes in v5:
- Move create_workqueue error handling to xenbus_frontend_dev_resume]
Acked-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
2013-05-29 09:04:19 -04:00
..
Makefile xen: Add xenbus_backend device 2011-12-16 13:29:41 -05:00
xenbus_client.c xenbus: fix compile failure on ARM with Xen enabled 2013-03-01 10:55:00 -05:00
xenbus_comms.c xen/arm: compile and run xenbus 2012-09-17 10:04:04 -04:00
xenbus_comms.h xenbus: Add support for xenbus backend in stub domain 2012-05-21 09:53:18 -04:00
xenbus_dev_backend.c xen/xenbus: Fixed over 80 character limit issue 2013-05-20 14:14:47 -04:00
xenbus_dev_frontend.c xen/xenbus: fix overflow check in xenbus_file_write() 2012-10-30 09:57:49 -04:00
xenbus_probe.c xen: introduce xen_remap, use it instead of ioremap 2013-02-19 22:02:34 -05:00
xenbus_probe.h Xen: consolidate and simplify struct xenbus_driver instantiation 2012-01-04 17:01:17 -05:00
xenbus_probe_backend.c Xen: consolidate and simplify struct xenbus_driver instantiation 2012-01-04 17:01:17 -05:00
xenbus_probe_frontend.c xenbus: delay xenbus frontend resume if xenstored is not running 2013-05-29 09:04:19 -04:00
xenbus_xs.c xen/xenbus: Remove duplicate inclusion of asm/xen/hypervisor.h 2012-11-28 14:39:23 -05:00