]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
docs: Document libxl.conf location
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 8 Mar 2021 17:02:08 +0000 (18:02 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 12 Mar 2021 09:52:51 +0000 (10:52 +0100)
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>
docs/drvxen.html.in
docs/manpages/libvirtd.rst
docs/manpages/virtxend.rst

index da94952e4208ed7fee028d78e0f175c8386934d2..95be36c879b716f58c9d63c5cbe1aea85e038254 100644 (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>
index 6466be3b8d8e9f0638511cf11ff63ba5dc32fc0a..ee72f08382217bd09d3d16a4e18a3bf30505263a 100644 (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
index f94ba80afa18a33d0d921e0175c653b7e718a93d..b08346b489d2518b1c9ef83e63872e4973e7e12f 100644 (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``