This is a v2 of:
https://www.redhat.com/archives/libvir-list/2020-November/msg00639.html
but it implements a different approach per Nikolay's suggestion.
Michal Prívozník (2):
DO NOT MERGE
virnetdaemon: Wait for "daemon-stop" thread to finish before quitting
src/libvirt_remote.syms | 1 +
src/remote/remote_daemon.c | 73 +++++++++++++++++++++++---------------
src/rpc/virnetdaemon.c | 17 +++++++++
src/rpc/virnetdaemon.h | 3 ++
4 files changed, 66 insertions(+), 28 deletions(-)
--
2.26.2