]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: conf: Enable 'backup_tls_x509_verify' by default
authorPeter Krempa <pkrempa@redhat.com>
Fri, 13 Nov 2020 14:20:58 +0000 (15:20 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 16 Nov 2020 13:11:56 +0000 (14:11 +0100)
commit0200fe42a09df06ad34432f603e03dfe7f345c41
tree8502e8684c74f6d5227d462cfd0c4c0bb7e538b5
parent930583149c4701657a50686f200e475bd9e92a4a
qemu: conf: Enable 'backup_tls_x509_verify' by default

The NBD server used to export pull-mode backups doesn't have any other
form of client authentication on top of the TLS transport, so the only
way to authenticate clients is to verify their certificate.

Enable this option by defauilt when both 'backup_tls_x509_verify' and
'default_tls_x509_verify' were not configured.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1879477
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
src/qemu/qemu.conf
src/qemu/qemu_conf.c