]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
drvch: Document config file locations
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 31 Oct 2025 09:45:54 +0000 (10:45 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 31 Oct 2025 12:14:16 +0000 (13:14 +0100)
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
docs/drvch.rst

index 2f900b785bb57e64ae0c733e6b0c0c1cfaffdf48..b9effc4409605283906500be7c6b11ae62512560 100644 (file)
@@ -28,6 +28,22 @@ But all other transport modes are supported too
 (see `documentation <uri.html#remote-uris>`__).
 
 
+Location of configuration files
+-------------------------------
+
+The CH driver comes with sane default values. However, during its
+initialization it reads a configuration file which offers system
+administrator or an user to override some of that default. The location
+of the file depends on the connection URI, as follows:
+
+=================== ======================================
+``ch:///system``    ``/etc/libvirt/ch.conf``
+``ch:///session``   ``$XDG_CONFIG_HOME/libvirt/ch/ch.conf``
+=================== ======================================
+
+If ``$XDG_CONFIG_HOME`` is not set in the environment, it defaults to
+``$HOME/.config``.
+
 Example guest domain XML configurations
 ---------------------------------------