]> git.ipfire.org Git - thirdparty/libvirt.git/commit
ch: Load ch.conf from SYSCONFDIR
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 23 Oct 2025 13:33:04 +0000 (15:33 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 31 Oct 2025 12:14:12 +0000 (13:14 +0100)
commit3299ce060f551161bdcb548f103629ae664df102
tree40480eb7bc04f8523f8906d91ee1665be8af567b
parent4c5021bc923290920aa72c66d34fe6d6992a5abf
ch: Load ch.conf from SYSCONFDIR

Config files for system instances of our drivers (e.g.
"ch:///system", "qemu:///system", etc.) live under /etc/libvirt.
But for some reason, the CH driver was trying to load the config
file from /var/lib/libvirt/ch/ even though the file is installed
under /etc/libvirt per the following line from src/meson.build:

  install_data(virt_conf_files, install_dir: confdir)

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
src/ch/ch_conf.c