[libvirt] [PATCH 0/2] Really check for TLS dir if specified in qemu.conf

John Ferlan posted 2 patches 6 years, 9 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20170628193028.5256-1-jferlan@redhat.com
src/qemu/qemu.conf   |   9 +++-
src/qemu/qemu_conf.c | 123 +++++++++++++++++++++++++++++++++++++--------------
2 files changed, 98 insertions(+), 34 deletions(-)
[libvirt] [PATCH 0/2] Really check for TLS dir if specified in qemu.conf
Posted by John Ferlan 6 years, 9 months ago
The qemu.conf indicates that for the various *_tls_x509_cert_dir settings
that "If the provided path does not exist then the default_tls_x509_cert_dir
path will be used."; however, the code didn't quite do that.

The default for each was set during virQEMUDriverConfigNew; however, that
was overwritten if the various config settings were used, but whether the
directory actually existed and falling back to the default action of using
the default configuration was not done.

So that's what these patches do.

John Ferlan (2):
  qemu: Clean up long lines in virQEMUDriverConfigLoadFile
  qemu: Check for existence of provided *_tls_x509_cert_dir

 src/qemu/qemu.conf   |   9 +++-
 src/qemu/qemu_conf.c | 123 +++++++++++++++++++++++++++++++++++++--------------
 2 files changed, 98 insertions(+), 34 deletions(-)

-- 
2.9.4

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list