[PATCH 06/24] virQEMUDriverConfigLoadSpecificTLSEntry: Split up fetching of server-only config options

Eric Blake eblake at redhat.com
Thu Jul 2 18:55:36 UTC 2020


On 7/2/20 9:39 AM, Peter Krempa wrote:
> The '*_tls_x509_verify' options are relevant only when we are going to
> expose a server socket as client sockets always enable verification.
> 
> Split up the macro to separate the common bits from the server bits so
> that when we'll later extend support of 'nbd' and 'vxhs' disks which are
> client only we can reuse the existing macros.
> 
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---
>   src/qemu/qemu_conf.c | 25 ++++++++++++++++---------
>   1 file changed, 16 insertions(+), 9 deletions(-)
> 

Reviewed-by: Eric Blake <eblake at redhat.com>

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org




More information about the libvir-list mailing list