Paul Durrant c534374ecf xenbus: move xenbus_dev_shutdown() into frontend code...
...and make it static

xenbus_dev_shutdown() is seemingly intended to cause clean shutdown of PV
frontends when a guest is rebooted. Indeed the function waits for a
conpletion which is only set by a call to xenbus_frontend_closed().

This patch removes the shutdown() method from backends and moves
xenbus_dev_shutdown() from xenbus_probe.c into xenbus_probe_frontend.c,
renaming it appropriately and making it static.

NOTE: In the case where the backend is running in a driver domain, the
      toolstack should have already terminated any frontends that may be
      using it (since Xen does not support re-startable PV driver domains)
      so xenbus_dev_shutdown() should never be called.

Signed-off-by: Paul Durrant <pdurrant@amazon.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
2019-12-20 13:44:35 +01:00
..
2019-11-28 11:16:43 -08:00
2019-10-23 06:26:33 -04:00
2019-11-28 11:16:43 -08:00
2019-10-28 16:47:22 -07:00
2019-11-27 11:06:20 -08:00
2019-10-24 08:45:31 +03:00
2019-11-27 10:57:52 -08:00
2019-11-25 19:40:40 -08:00
2019-11-27 11:06:20 -08:00
2019-11-30 10:33:14 -08:00
2019-11-27 09:58:49 -08:00
2019-11-27 11:06:20 -08:00
2019-10-31 11:24:52 +01:00
2019-11-25 19:40:40 -08:00
2019-11-27 10:57:52 -08:00
2019-11-30 10:33:14 -08:00
2019-11-30 14:35:43 -08:00
2019-11-03 19:54:53 +01:00
2019-11-27 17:45:48 -08:00
2019-11-27 17:45:48 -08:00
2019-11-27 11:06:20 -08:00
2019-11-17 18:34:25 +01:00
2019-10-21 09:08:15 +02:00
2019-11-25 11:18:03 -08:00
2019-11-28 11:16:43 -08:00
2019-11-25 19:40:40 -08:00
2019-11-30 14:35:43 -08:00
2019-11-27 10:53:50 -08:00
2019-11-11 06:23:37 +01:00
2019-11-22 19:56:35 +00:00
2019-11-27 10:57:52 -08:00
2019-11-07 06:43:18 -07:00
2019-11-28 11:16:43 -08:00
2019-11-20 02:15:57 -05:00
2019-11-14 13:06:33 +08:00