From nobody Fri Dec 12 15:17:25 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass(p=reject dis=none) header.from=lists.libvirt.org ARC-Seal: i=1; a=rsa-sha256; t=1761904776; cv=none; d=zohomail.com; s=zohoarc; b=RT3R7+wf+0eKU5AS9T/NHKUxpjvZZXeectmHNs9yV9JmagLjpN//RnshmL20KqXpsmDZk4Q1JWkyNq5WQmWLY+2Br1zdRrBR4ZqkxKc7PAnqJ2TLfo5NWhmBIdNFzmpYK8P1Zphe6gHbAQGm6Ji/ULoSO9rmABqAZKNUAMEW8sU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1761904776; h=Content-Type:Content-Transfer-Encoding:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Owner:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Reply-To:References:Subject:Subject:To:To:Message-Id:Cc; bh=OgYbyzGSg+hlL1fGxoLbcEX1eaARAIPk4pIRpi1RNhk=; b=MmJn2oyhRBEAO3M2Q6bFb8zJh7/BojT3MJyIletenQix4bXGP6RyKZMAJpCF6heEO3nNDKb3/zBaMHqJYJTe8IVJTsR2a9mMtlqPqJArWQV92a3iOFp9LAt1EmszLdDZcHDGUakdHVN+0Y+v2tNlhjPDPeQKRJFbzgTnFFgTepc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1761904776983874.2024039691745; Fri, 31 Oct 2025 02:59:36 -0700 (PDT) Received: by lists.libvirt.org (Postfix, from userid 993) id 2305743E91; Fri, 31 Oct 2025 05:59:36 -0400 (EDT) Received: from [172.19.199.29] (lists.libvirt.org [8.43.85.245]) by lists.libvirt.org (Postfix) with ESMTP id 9BFF54403F; Fri, 31 Oct 2025 05:56:57 -0400 (EDT) Received: by lists.libvirt.org (Postfix, from userid 993) id 7661543F69; Fri, 31 Oct 2025 05:56:45 -0400 (EDT) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (3072 bits) server-digest SHA256) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id CC63F43EA4 for ; Fri, 31 Oct 2025 05:56:37 -0400 (EDT) Received: from mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-212-JCeraLVrME2qmI6-6vxi-g-1; Fri, 31 Oct 2025 05:56:36 -0400 Received: from mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.111]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id E173D1828ACF for ; Fri, 31 Oct 2025 09:56:33 +0000 (UTC) Received: from moe (unknown [10.43.3.236]) by mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id A19B7180058D for ; Fri, 31 Oct 2025 09:56:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_PASS autolearn=unavailable autolearn_force=no version=4.0.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1761904597; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=OgYbyzGSg+hlL1fGxoLbcEX1eaARAIPk4pIRpi1RNhk=; b=D6PIL2g+rIa5xIomvC34bPldhOOM3Mzi0JszBzhOIZOTDhYc2GtmkqDsub5EFfH+Qfq5JD nlBZl17oXd1oEGb+xcCwPX+xXaVHQvu9CEtUeOF7RwhXdmNInjVc5gnlYtlIFtv3tEgIDw uDY91Jc/66/HHT6uZcLU2uBD+V0BtWM= X-MC-Unique: JCeraLVrME2qmI6-6vxi-g-1 X-Mimecast-MFC-AGG-ID: JCeraLVrME2qmI6-6vxi-g_1761904594 To: devel@lists.libvirt.org Subject: [PATCH 4/4] drvch: Document config file locations Date: Fri, 31 Oct 2025 10:56:25 +0100 Message-ID: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.111 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: hYlhqDdhsyi9tOJVTG3ZVB5-FhR2CL6GKqh842Df9nc_1761904594 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: UUZZCCQX5APKNEVXOJI5JH2V3OOGNW3R X-Message-ID-Hash: UUZZCCQX5APKNEVXOJI5JH2V3OOGNW3R X-MailFrom: mprivozn@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-devel.lists.libvirt.org-0; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Michal Privoznik via Devel Reply-To: Michal Privoznik X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1761904778367158500 Content-Type: text/plain; charset="utf-8"; x-default="true" From: Michal Privoznik Signed-off-by: Michal Privoznik --- docs/drvch.rst | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/drvch.rst b/docs/drvch.rst index 2f900b785b..b9effc4409 100644 --- a/docs/drvch.rst +++ b/docs/drvch.rst @@ -28,6 +28,22 @@ But all other transport modes are supported too (see `documentation `__). =20 =20 +Location of configuration files +------------------------------- + +The CH driver comes with sane default values. However, during its +initialization it reads a configuration file which offers system +administrator or an user to override some of that default. The location +of the file depends on the connection URI, as follows: + +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D +``ch:///system`` ``/etc/libvirt/ch.conf`` +``ch:///session`` ``$XDG_CONFIG_HOME/libvirt/ch/ch.conf`` +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D + +If ``$XDG_CONFIG_HOME`` is not set in the environment, it defaults to +``$HOME/.config``. + Example guest domain XML configurations --------------------------------------- =20 --=20 2.51.0