v1:
https://www.redhat.com/archives/libvir-list/2020-February/msg00370.html
v2:
according to Dienial's suggestion:
* update each tls file one time -> update all of them at one time
* forced to re-create the credentials object, rather than allowing
to append to the original ones.
Zhang Bo (5):
virnetserver: Introduce virNetServerUpdateTlsFiles
tls: Add a mutex lock on 'tlsCtxt'
admin: Introduce virAdmServerUpdateTlsFiles
virt-admin: Introduce command srv-update-tls
docs: update virt-admin.rst for server-update-tls
docs/manpages/virt-admin.rst | 16 +++++++
include/libvirt/libvirt-admin.h | 3 ++
src/admin/admin_protocol.x | 12 +++++-
src/admin/admin_server.c | 9 ++++
src/admin/admin_server.h | 3 ++
src/admin/libvirt-admin.c | 30 +++++++++++++
src/admin/libvirt_admin_private.syms | 1 +
src/admin/libvirt_admin_public.syms | 1 +
src/libvirt_remote.syms | 1 +
src/rpc/virnetserver.c | 51 ++++++++++++++++++++++
src/rpc/virnetserver.h | 2 +
src/rpc/virnetserverclient.c | 4 ++
src/rpc/virnettlscontext.c | 46 ++++++++++++++++++++
src/rpc/virnettlscontext.h | 3 ++
tools/virt-admin.c | 64 ++++++++++++++++++++++++++++
15 files changed, 245 insertions(+), 1 deletion(-)
--
2.23.0.windows.1