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 <mprivozn@xxxxxxxxxx> --- 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@xxxxxxxxxxx/system (remote access, SSH tunnelled) </pre> + + <h2><a id="configFiles">Location of configuration files</a></h2> + + <p> + 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 <code>/etc/libvirt/libxl.conf</code> + </p> + + <h2><a id="imex">Import and export of libvirt domain XML configs</a></h2> <p> 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`` -- 2.26.2