linux/include/xen
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
..
interface xen-netback: coalesce slots in TX path and fix regressions 2013-04-22 15:37:01 -04:00
acpi.h xen/acpi: move xen_acpi_get_pxm under CONFIG_XEN_DOM0 2013-02-19 22:02:30 -05:00
balloon.h
events.h xen: drop tracking of IRQ vector 2013-04-16 15:05:45 -04:00
features.h
gntalloc.h
gntdev.h
grant_table.h
hvc-console.h
hvm.h
page.h
platform_pci.h
swiotlb-xen.h
tmem.h xen: tmem: enable Xen tmem shim to be built/loaded as a module 2013-04-30 17:04:01 -07:00
xen-ops.h
xen.h
xenbus_dev.h
xenbus.h xenbus: delay xenbus frontend resume if xenstored is not running 2013-05-29 09:04:19 -04:00
xencomm.h