From nobody Sun Feb 8 23:41:53 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.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 170.10.129.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=1662732397; cv=none; d=zohomail.com; s=zohoarc; b=T+fA2ThAfNub1FOs4H2S/auFkQZOgvymtfdjLxHSlOsLOaC3GcxktlqI3B8+mFBVWYCe889I76DskkAFwI5OPsDSZxPoDIyqFeHBR30AH1LX4EdO4nYzhzgFjDGRKTX+L+5ubQyvC7alRrQT16ZjGGWQ8TxBcw1vxYyayXdp2jQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1662732397; 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=8tgDaaCXuz7lalc7Si5T7PNamsdvWypB2RIqG47SFgA=; b=AWGfQruFvdwH2leOmU0cPZyS1Ij6R6of3ABO2dmUldUwzS8yHtVQ1QCJc/Ct+N/ILQIFqxXjGYuT5wNZ+DB84eNLEb4njq3jU+iUPNjsWrMJUVY9YaHoai9rKvUg34UKlMgRTsk++a28nwAAuq/oXZrpwXima3FTMPbI2lo6UP0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.zohomail.com with SMTPS id 1662732397556981.0431380737782; Fri, 9 Sep 2022 07:06:37 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-621-A7ufdWepMXmPWaaT1dGHxA-1; Fri, 09 Sep 2022 10:06:34 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 2822A1818340; Fri, 9 Sep 2022 14:06:30 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1386B14152E0; Fri, 9 Sep 2022 14:06:30 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id F0FEE1946A44; Fri, 9 Sep 2022 14:06:24 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 26BA71946A56 for ; Fri, 9 Sep 2022 14:06:19 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 176611121315; Fri, 9 Sep 2022 14:06:19 +0000 (UTC) Received: from speedmetal.lan (unknown [10.40.208.30]) by smtp.corp.redhat.com (Postfix) with ESMTP id 88B73112131B for ; Fri, 9 Sep 2022 14:06:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1662732396; h=from:from:sender:sender: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=8tgDaaCXuz7lalc7Si5T7PNamsdvWypB2RIqG47SFgA=; b=TBLC8giTzGQvfjITAyXiq+dI1HQXeKeUI1hhmL3VgJE8JriuyIK7uvZtCtvc+DQ5dSiO+n fPY58x+5p9+h8ypIZGyMFdmYBVrJB/pNqWyqavNwTGXI5dt8YyCn01ySoEGUEOZJ6pVS2b RhnKVxSdbGe9HDlnVmAPRarSwH+tmhk= X-MC-Unique: A7ufdWepMXmPWaaT1dGHxA-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH 5/6] docs: compiling: Encourage force-enabling required functionality Date: Fri, 9 Sep 2022 16:06:11 +0200 Message-Id: <9c60648b28a4347ff19e7c4d82f0d1c3b79e78e2.1662732168.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 2.85 on 10.11.54.7 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1662732398909100001 Content-Type: text/plain; charset="utf-8" To prevent surprises when a build doesn't in fact contain the required functionality suggest that users force-enable required modules. Signed-off-by: Peter Krempa --- docs/compiling.rst | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/docs/compiling.rst b/docs/compiling.rst index 1969b9b0b0..1d06136ca6 100644 --- a/docs/compiling.rst +++ b/docs/compiling.rst @@ -81,11 +81,30 @@ normal OS vendor prefixes, use $ meson build -Dsystem=3Dtrue +Explicitly enabling required functionality +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +By default each module of functionality of libvirtd is optionally enabled, +meaning it will be enabled if the build environment contains the required +dependencies. + +To ensure that your build contains the required functionality it's recomme= nded +to explicitly enable given modules, in which case the configure step will = end +with an error if dependencies are not present. **Example:** to build the +libvirt project with support for the **qemu** driver use the following opt= ions: + +:: + + $ meson build -Dsystem=3Dtrue -Ddriver_qemu=3Denabled + +Notes: +~~~~~~ + By default when the ``meson`` is run from within a GIT checkout, it will t= urn on -Werror for builds. This can be disabled with --werror=3Dfalse, but thi= s is not recommended. -**Note:** Please ensure that you have the appropriate minimal ``meson`` ve= rsion +Please also ensure that you have the appropriate minimal ``meson`` version installed in your build environment. The minimal version for a specific pa= ckage can be checked in the top level ``meson.build`` file in the ``meson_versio= n`` field. --=20 2.37.1