From e7976ea2f4daeb0f359ec71f0f391d06088f0ffb Mon Sep 17 00:00:00 2001 From: Michal Privoznik Date: Mon, 8 Mar 2021 18:02:08 +0100 Subject: [PATCH] docs: Document libxl.conf location This is similar to my earlier commit which documented lxc.conf location. Just like LXC, the libxl driver has only the system connection and thus only few places need changing. Signed-off-by: Michal Privoznik Reviewed-by: Andrea Bolognani --- docs/drvxen.html.in | 11 +++++++++++ docs/manpages/libvirtd.rst | 1 + docs/manpages/virtxend.rst | 9 +++++++++ 3 files changed, 21 insertions(+) diff --git a/docs/drvxen.html.in b/docs/drvxen.html.in index da94952e42..95be36c879 100644 --- a/docs/drvxen.html.in +++ b/docs/drvxen.html.in @@ -50,6 +50,17 @@ xen+tcp://example.com/system (remote access, SASl/Kerberos) xen+ssh://root@example.com/system (remote access, SSH tunnelled) + +

Location of configuration files

+ +

+ The libxl driver comes with sane default values. However, during its + initialization it reads a configuration file which offers system + administrator to override some of that default. The file is located + under /etc/libvirt/libxl.conf +

+ +

Import and export of libvirt domain XML configs

diff --git a/docs/manpages/libvirtd.rst b/docs/manpages/libvirtd.rst index 6466be3b8d..ee72f08382 100644 --- a/docs/manpages/libvirtd.rst +++ b/docs/manpages/libvirtd.rst @@ -140,6 +140,7 @@ Depending on what driver is installed, then the following files are also read: * ``@SYSCONFDIR@/libvirt/qemu.conf`` for the QEMU driver * ``@SYSCONFDIR@/libvirt/lxc.conf`` for the LXC driver +* ``@SYSCONFDIR@/libvirt/libxl.conf`` for the libxl driver These files contain various knobs and default values for virtual machines created within their respective drivers, and offer a way to override the built diff --git a/docs/manpages/virtxend.rst b/docs/manpages/virtxend.rst index f94ba80afa..b08346b489 100644 --- a/docs/manpages/virtxend.rst +++ b/docs/manpages/virtxend.rst @@ -111,6 +111,15 @@ a different user results in error. The default configuration file used by ``virtxend``, unless overridden on the command line using the ``-f`` | ``--config`` option. +In addition to the default configuration file, ``virtxend`` reads +configuration for the libxl driver from: + +* ``@SYSCONFDIR@/libvirt/libxl.conf`` + +This file contains various knobs and default values for virtual machines +created within libxl driver, and offers a way to override the built in +defaults, Location of this file can't be overridden by any command line switch. + * ``@RUNSTATEDIR@/libvirt/virtxend-sock`` * ``@RUNSTATEDIR@/libvirt/virtxend-sock-ro`` * ``@RUNSTATEDIR@/libvirt/virtxend-admin-sock``