From nobody Sun Feb 8 22:50:45 2026
Delivered-To: importer@patchew.org
Received-SPF: pass (zohomail.com: domain of redhat.com designates
216.205.24.124 as permitted sender) client-ip=216.205.24.124;
envelope-from=libvir-list-bounces@redhat.com;
helo=us-smtp-delivery-124.mimecast.com;
Authentication-Results: mx.zohomail.com;
dkim=pass;
spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as
permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com;
dmarc=pass(p=none dis=none) header.from=redhat.com
ARC-Seal: i=1; a=rsa-sha256; t=1615537483; cv=none;
d=zohomail.com; s=zohoarc;
b=IgKKGB9iA+I+UTK/PKyUAnsNgcPvORI0CkTHkhtJHzvwW9dKMkzyHONH/fQ2SLmt9Da2GF0QaRA7Ztfv9iTC8ToHMXeKH8GBHhVfRngfXbUPwV8ptgpSjTzJgVkyAJIYSVGKIYbKFegZhsEJ03njC3OMBL6axTqPOcwXYGPsJKE=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com;
s=zohoarc;
t=1615537483;
h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To;
bh=w2Z0nhjXguN39V2pnt/GT0WT8umhrf35bR7ywK3Ebt0=;
b=gLFgRmMWO+VYaPHt/0CQ3Y9lDWqH2iDmLuM24E4EvbUYGiczWkJnmNiYu0/2KyRAS1uyCH6+MHN0xuSdgtZyx75Oa2FOKECWGsEGb4FnqodqgQwrwRnfUgeu9bn2dOiMRKhuH9xrd7j6xXvz7B3Ae1mBUPF2paHUDNyoHE/0YBk=
ARC-Authentication-Results: i=1; mx.zohomail.com;
dkim=pass;
spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as
permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com;
dmarc=pass header.from=
+The LXC 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/lxc.conf
+
diff --git a/docs/manpages/libvirtd.rst b/docs/manpages/libvirtd.rst index 6545dc58d3..6466be3b8d 100644 --- a/docs/manpages/libvirtd.rst +++ b/docs/manpages/libvirtd.rst @@ -136,15 +136,17 @@ When run as *root* The default configuration file used by ``libvirtd``, unless overridden on = the command line using the ``-f`` | ``--config`` option. =20 -If QEMU driver is installed, then the following file is also read: +Depending on what driver is installed, then the following files are also r= ead: =20 -* ``@SYSCONFDIR@/libvirt/qemu.conf`` +* ``@SYSCONFDIR@/libvirt/qemu.conf`` for the QEMU driver +* ``@SYSCONFDIR@/libvirt/lxc.conf`` for the LXC driver =20 -This file contains various knobs and default values for virtual machines -created within QEMU driver, and offers a way to override the built in defa= ults, -for instance (but not limited to): paths to various supplementary binaries= , TLS -certificates location, graphical consoles configuration and others. Locati= on of -this file can't be overridden by any command line switch. +These files contain various knobs and default values for virtual machines +created within their respective drivers, and offer a way to override the b= uilt +in defaults, for instance (but not limited to): paths to various supplemen= tary +binaries, TLS certificates location, graphical consoles configuration and +others. Location of neither of these files can be overridden by any command +line switch. =20 * ``@RUNSTATEDIR@/libvirt/libvirt-sock`` * ``@RUNSTATEDIR@/libvirt/libvirt-sock-ro`` diff --git a/docs/manpages/virtlxcd.rst b/docs/manpages/virtlxcd.rst index b9aca6c857..2e9d8fd14b 100644 --- a/docs/manpages/virtlxcd.rst +++ b/docs/manpages/virtlxcd.rst @@ -111,6 +111,15 @@ a different user results in error. The default configuration file used by ``virtlxcd``, unless overridden on = the command line using the ``-f`` | ``--config`` option. =20 +In addition to the default configuration file, ``virtlxcd`` reads +configuration for the LXC driver from: + +* ``@SYSCONFDIR@/libvirt/lxc.conf`` + +This file contains various knobs and default values for virtual machines +created within LXC driver, and offers a way to override the built in defau= lts, +Location of this file can't be overridden by any command line switch. + * ``@RUNSTATEDIR@/libvirt/virtlxcd-sock`` * ``@RUNSTATEDIR@/libvirt/virtlxcd-sock-ro`` * ``@RUNSTATEDIR@/libvirt/virtlxcd-admin-sock`` --=20 2.26.2