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 <mprivozn@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
Michal Privoznik 2021-03-08 18:02:08 +01:00
parent fd2bd98852
commit e7976ea2f4
3 changed files with 21 additions and 0 deletions

View File

@ -50,6 +50,17 @@ xen+tcp://example.com/system (remote access, SASl/Kerberos)
xen+ssh://root@example.com/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>

View File

@ -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

View File

@ -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``