]> www.infradead.org Git - users/dwmw2/linux.git/commit
xen/xenbus: xenbus uninit support
authorJoao Martins <joao.m.martins@oracle.com>
Tue, 4 Dec 2018 21:58:09 +0000 (16:58 -0500)
committerJoao Martins <joao.m.martins@oracle.com>
Wed, 20 Feb 2019 17:30:52 +0000 (12:30 -0500)
commitee951d270f0584cea1fe20b488727dc76e69da6d
treedac60baebe6a65933f83cb02ead847c0cb5c7651
parent9fc70744bea5c2b054f7f2e0bfb4509efd0c7a52
xen/xenbus: xenbus uninit support

This allows reinitialization of xenbus which is useful for
xen_shim_domain() support. Cleaning xenbus state means cancelling
pending watch events, and deleting all watches, closing xenstore event
channel and finally stopping xenbus/xenwatch kthreads alongside
unregistering /proc/xen.

Signed-off-by: Joao Martins <joao.m.martins@oracle.com>
drivers/xen/xenbus/xenbus.h
drivers/xen/xenbus/xenbus_client.c
drivers/xen/xenbus/xenbus_probe.c
drivers/xen/xenbus/xenbus_xs.c