]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virQEMUDriverConfigLoadSpecificTLSEntry: Split up fetching of server-only config...
authorPeter Krempa <pkrempa@redhat.com>
Tue, 30 Jun 2020 15:56:08 +0000 (17:56 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 7 Jul 2020 10:58:18 +0000 (12:58 +0200)
commitcd0dc1c19feab350a235185cdf38d21d6c155216
treef67b00b98ec0431e572139e74e321e32abadec42
parent94b5e9ebf62be0292cda9b3c31f2be1e385316cb
virQEMUDriverConfigLoadSpecificTLSEntry: Split up fetching of server-only config options

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@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
src/qemu/qemu_conf.c