From 86bba8f1d9d3f2a3425b45a25b8c70d2f5ecd403 Mon Sep 17 00:00:00 2001 From: Michal Privoznik Date: Fri, 31 Oct 2025 10:45:54 +0100 Subject: [PATCH] drvch: Document config file locations Signed-off-by: Michal Privoznik Reviewed-by: Jiri Denemark --- docs/drvch.rst | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/drvch.rst b/docs/drvch.rst index 2f900b785b..b9effc4409 100644 --- a/docs/drvch.rst +++ b/docs/drvch.rst @@ -28,6 +28,22 @@ But all other transport modes are supported too (see `documentation `__). +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 --------------------------------------- -- 2.47.3