
On Wed, Jul 26, 2017 at 05:05:17PM -0400, John Ferlan wrote:
https://bugzilla.redhat.com/show_bug.cgi?id=1458630
Introduce virQEMUDriverConfigTLSDirResetDefaults in order to check if the defaultTLSx509certdir was changed, then change the default for any other *TLSx509certdir that was not set to the default default.
Introduce virQEMUDriverConfigValidate to validate the existence of any of the *_tls_x509_cert_dir values that were uncommented/set, incuding the default.
Update the qemu.conf description for default to describe the consequences if the default directory path does not exist.
Signed-off-by: John Ferlan <jferlan@redhat.com> --- v3: https://www.redhat.com/archives/libvir-list/2017-July/msg00915.html
Changes since v3 - rework even more based on code review.
src/qemu/qemu.conf | 8 ++++ src/qemu/qemu_conf.c | 105 ++++++++++++++++++++++++++++++++++++++++++++++++- src/qemu/qemu_conf.h | 4 ++ src/qemu/qemu_driver.c | 3 ++ 4 files changed, 119 insertions(+), 1 deletion(-)
ACK Jan