xenbus: frontend resume cleanup
authorAurelien Chartier <aurelien.chartier@citrix.com>
Tue, 9 Jul 2013 13:29:35 +0000 (14:29 +0100)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 29 Jul 2013 13:32:31 +0000 (09:32 -0400)
commitd7ead0c3c27ef601964d1428066fac932070af7f
treed2deecec19a8e848ea9864eebb24a8272e8434fe
parent0b0c002c340e78173789f8afaa508070d838cf3d
xenbus: frontend resume cleanup

Only create the delayed resume workqueue if we are running in the same domain
as xenstored and issue a warning if the workqueue creation fails.

Move the work initialization to the device probe so it is done only once.

Signed-off-by: Aurelien Chartier <aurelien.chartier@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Reviewed-by: David Vrabel <david.vrabel@citrix.com>
drivers/xen/xenbus/xenbus_probe_frontend.c