From nobody Fri Nov 21 10:09:23 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=1763614074; cv=none; d=zohomail.com; s=zohoarc; b=dRGiuN0tEElsydLDW4SkFqQjMsxxEeunE9dyDNOsoVjjqy9o8CT3xnvmz5mS8ZdAsEj0AW2vRdozuFASvkbRIUW+VKoSXfNjjKyrBMvVs80djNl9+NJp6XiMngRoK4JIAosb2bq3fij3C9ljg/pPwqd7Og3xBy3iaGL8HKBe1Ns= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1763614074; 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=ACXpgDJnX+M3ngAuSU4TXJuceVpYN2A4KfMnMGGLP8s=; b=exFKGrEHB9B+LRc8JLpG0CYr3ji9w8o5uoerIH0ufvLCz1WjzTClkZkh3q391kowq9q/jTrXQXvJ4O5m5jtz7JvIHI4KsoCIp9y00uD10U1phLCvcHXSMhBla0LEExnST4GTRw6AJ8H6RIoF+6WiWe9hYbITjQ21x92u/+6FT/c= 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 176361407477386.34190986960505; Wed, 19 Nov 2025 20:47:54 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 993) id 3319344146; Wed, 19 Nov 2025 23:47:54 -0500 (EST) Received: from [172.19.199.50] (lists.libvirt.org [8.43.85.245]) by lists.libvirt.org (Postfix) with ESMTP id 630E8441EE; Wed, 19 Nov 2025 23:46:18 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 993) id 6BB1A419DD; Wed, 19 Nov 2025 23:43:44 -0500 (EST) 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 886DB41B7C for ; Wed, 19 Nov 2025 23:43:43 -0500 (EST) Received: from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-500-y6PTHxCMMxGi162TYPaCKg-1; Wed, 19 Nov 2025 23:43:41 -0500 Received: from mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.17]) (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-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id C712718AB414 for ; Thu, 20 Nov 2025 04:43:40 +0000 (UTC) Received: from fedora.redhat.com (unknown [10.44.32.37]) by mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id E20BE19540E7 for ; Thu, 20 Nov 2025 04:43:39 +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=1763613823; 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=ACXpgDJnX+M3ngAuSU4TXJuceVpYN2A4KfMnMGGLP8s=; b=Ge/AYhHqwhigDhPrrjbGO1VwGBBYbs4lwScAIJhutebqouEF3Jh3A1oYr83fA5vBnhEYCa 1twaylEcFDLNnFhpFFb+6xeW5JpVMFCKjy0D+Xd0B/0R80i1UsYGIpCbC1gQ+wb2hLEDfS vHMKhFIs7j++PlaatAC3baDu039IZAU= X-MC-Unique: y6PTHxCMMxGi162TYPaCKg-1 X-Mimecast-MFC-AGG-ID: y6PTHxCMMxGi162TYPaCKg_1763613820 To: devel@lists.libvirt.org Subject: [libvirt PATCH 2/3] spec: drop with_userfaultfd_sysctl Date: Thu, 20 Nov 2025 05:42:59 +0100 Message-ID: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.17 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: ZMvx63WOJQRa7YNVYbOtc-87eK3kgRB-i9ilC2o6WN8_1763613820 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-ID-Hash: R6FQ5EZ53Z52ZCCDUD2MQ5B64WE56BTH X-Message-ID-Hash: R6FQ5EZ53Z52ZCCDUD2MQ5B64WE56BTH X-MailFrom: jtomko@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: =?utf-8?q?J=C3=A1n_Tomko_via_Devel?= Reply-To: =?UTF-8?q?J=C3=A1n=20Tomko?= X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1763614076681018900 From: J=C3=A1n Tomko It has no effect anymore. Signed-off-by: J=C3=A1n Tomko --- libvirt.spec.in | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/libvirt.spec.in b/libvirt.spec.in index 79738bd7bb..8314fbeb34 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -91,7 +91,6 @@ =20 # Other optional features %define with_numactl 0%{!?_without_numactl:1} -%define with_userfaultfd_sysctl 0%{!?_without_userfaultfd_sysctl:1} =20 # A few optional bits off by default, we enable later %define with_fuse 0 @@ -259,12 +258,6 @@ %define enable_werror -Dwerror=3Dfalse -Dgit_werror=3Ddisabled %endif =20 -# Fedora and RHEL-9 are new enough to support /dev/userfaultfd, which -# does not require enabling vm.unprivileged_userfaultfd sysctl. -%if 0%{?fedora} || 0%{?rhel} - %define with_userfaultfd_sysctl 0 -%endif - %define tls_priority "@LIBVIRT,SYSTEM" =20 # libvirt 8.1.0 stops distributing any sysconfig files. @@ -1329,12 +1322,6 @@ exit 1 %define arg_remote_mode -Dremote_default_mode=3Dlegacy %endif =20 -%if %{with_userfaultfd_sysctl} - %define arg_userfaultfd_sysctl -Duserfaultfd_sysctl=3Denabled -%else - %define arg_userfaultfd_sysctl -Duserfaultfd_sysctl=3Ddisabled -%endif - %define when %(date +"%%F-%%T") %define where %(hostname) %define who %{?packager}%{!?packager:Unknown} @@ -1418,7 +1405,6 @@ export SOURCE_DATE_EPOCH=3D$(stat --printf=3D'%Y' %{_= specdir}/libvirt.spec) -Dqemu_datadir=3D%{qemu_datadir} \ -Dtls_priority=3D%{tls_priority} \ -Dsysctl_config=3Denabled \ - %{?arg_userfaultfd_sysctl} \ -Dssh_proxy=3Denabled \ %{?enable_werror} \ -Dexpensive_tests=3Denabled \ @@ -1506,7 +1492,6 @@ export SOURCE_DATE_EPOCH=3D$(stat --printf=3D'%Y' %{_= specdir}/libvirt.spec) -Dstorage_vstorage=3Ddisabled \ -Dstorage_zfs=3Ddisabled \ -Dsysctl_config=3Ddisabled \ - -Duserfaultfd_sysctl=3Ddisabled \ -Dssh_proxy=3Ddisabled \ -Dtests=3Ddisabled \ -Dudev=3Ddisabled \ @@ -2314,9 +2299,6 @@ exit 0 %if %{with_qemu} %files daemon-driver-qemu %config(noreplace) %{_sysconfdir}/libvirt/virtqemud.conf - %if %{with_userfaultfd_sysctl} -%config(noreplace) %{_prefix}/lib/sysctl.d/60-qemu-postcopy-migration.conf - %endif %{_datadir}/augeas/lenses/virtqemud.aug %{_datadir}/augeas/lenses/tests/test_virtqemud.aug %{_unitdir}/virtqemud.service --=20 2.51.1