]> xenbits.xensource.com Git - libvirt.git/commit
admin: Introduce virAdmServerUpdateTlsFiles
authorZhang Bo <oscar.zhangbo@huawei.com>
Sat, 7 Mar 2020 11:31:02 +0000 (19:31 +0800)
committerDaniel P. Berrangé <berrange@redhat.com>
Fri, 13 Mar 2020 17:07:32 +0000 (17:07 +0000)
commit29e68c932fe4509aaa8dd1c84d54d0137de32f45
tree9e4fd548bef1954ba375983e0446b0a551042507
parentb461178639ba6c37ab851717f1e5a05532db2da6
admin: Introduce virAdmServerUpdateTlsFiles

The server needs to use CA certificate, CRL, server certificate/key to
complete the TLS handshake. If these files change, we needed to restart
libvirtd for them to take effect. This API can update the TLS context
*ONLINE* without restarting libvirtd.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Zhang Bo <oscar.zhangbo@huawei.com>
Signed-off-by: Wu Qingliang <wuqingliang4@huawei.com>
include/libvirt/libvirt-admin.h
src/admin/admin_protocol.x
src/admin/admin_server.c
src/admin/admin_server.h
src/admin/libvirt-admin.c
src/admin/libvirt_admin_private.syms
src/admin/libvirt_admin_public.syms
src/admin_protocol-structs