From nobody Fri Nov 21 10:10:01 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=1763614026; cv=none; d=zohomail.com; s=zohoarc; b=klCAxDTRwh67QQ73x0xtgQnhnIDef143/rl/WF/9GTfy50UBhZqvTXBgx80WJ6RxSs5dF5AcB83tlRH3CJWGV4j8Utr/CzWN4Sxq/Nx8vpB5NXt8RX0adlmefjhuA9VJtm2pmhlNTGGRcYAU3DyoZ9yr6mhb4LQBfXUwsuyBvWQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1763614026; 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=F19aSFFV9zRPOzE37IwfiuGQI108iF9tgTQ+dcx8/yE=; b=D4ihEeRa8b4IbgowAAHzxnRY6w/Y40vBpkHYzY2VyOd2msXKUwDmUXJLGlqNrP8rgxgyRf9qO7Ne/pZDSH2sVEV0rwxbWqgdIDee1lJFJ7BnOb6eoS2YCzepkUOkGbCjAE6GMcxDYSQOx94FYQ/zE2ps1lIzjxJ0+hNlDeVQcMo= 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 1763614026765946.596644215352; Wed, 19 Nov 2025 20:47:06 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 993) id D123E4412A; Wed, 19 Nov 2025 23:47:05 -0500 (EST) Received: from [172.19.199.50] (lists.libvirt.org [8.43.85.245]) by lists.libvirt.org (Postfix) with ESMTP id 1821044169; Wed, 19 Nov 2025 23:45:34 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 993) id DB3BA419DD; Wed, 19 Nov 2025 23:43:42 -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 F120841B7C for ; Wed, 19 Nov 2025 23:43:41 -0500 (EST) Received: from mx-prod-mc-01.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-450-YTrC98InNY2Oi_a_qaxSsA-1; Wed, 19 Nov 2025 23:43:40 -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-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 5BD7919560AD for ; Thu, 20 Nov 2025 04:43:39 +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 5FABB19540E7 for ; Thu, 20 Nov 2025 04:43:38 +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=1763613821; 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=F19aSFFV9zRPOzE37IwfiuGQI108iF9tgTQ+dcx8/yE=; b=VdDJhaUrk+gX3IR6l9vzJZJs+4fOxot20+IpHshi1HQ2yTlPnrW9mhY6BYIu0o3wq27zaS 5E1z9MSxsatLsypgViv9hVvYqqSbJGJGqqtAUlJAZ1bUsV/4HO/1y1tEbreMBsIJFoYzQV L1LYybY8QUYM4tE1qTg9igVXG60szn4= X-MC-Unique: YTrC98InNY2Oi_a_qaxSsA-1 X-Mimecast-MFC-AGG-ID: YTrC98InNY2Oi_a_qaxSsA_1763613819 To: devel@lists.libvirt.org Subject: [libvirt PATCH 1/3] qemu: drop postcopy-migration.sysctl Date: Thu, 20 Nov 2025 05:42:58 +0100 Message-ID: <52b4131e5ac30512408f71fd575a8fc26c05070a.1763613780.git.jtomko@redhat.com> 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: EjgBZCjPVF-A0LlRnObS_q6NdnuGmzwu8b6JXHpzcqQ_1763613819 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-ID-Hash: 3H4SOWSIZB5CSGARXZ55DCCJWM7IX5C3 X-Message-ID-Hash: 3H4SOWSIZB5CSGARXZ55DCCJWM7IX5C3 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: 1763614030224019100 From: J=C3=A1n Tomko Since e2bc742fcc64da4c8370a71b65fd8c01ff3f9d41 we do not install it on RHEL nor Fedora. OpenSUSE is also new enough that it disables the installation. On Debian, sysctl files are only installed as an example. Signed-off-by: J=C3=A1n Tomko --- src/qemu/meson.build | 8 -------- src/qemu/postcopy-migration.sysctl | 6 ------ 2 files changed, 14 deletions(-) delete mode 100644 src/qemu/postcopy-migration.sysctl diff --git a/src/qemu/meson.build b/src/qemu/meson.build index 5cf20f426f..ff9a904277 100644 --- a/src/qemu/meson.build +++ b/src/qemu/meson.build @@ -210,14 +210,6 @@ if conf.has('WITH_QEMU') 'in_file': files('virtqemud.init.in'), } =20 - if conf.has('WITH_USERFAULTFD_SYSCTL') - install_data( - 'postcopy-migration.sysctl', - install_dir: prefix / 'lib' / 'sysctl.d', - rename: [ '60-qemu-postcopy-migration.conf' ], - ) - endif - virt_install_dirs +=3D [ confdir / 'qemu', confdir / 'qemu' / 'autostart', diff --git a/src/qemu/postcopy-migration.sysctl b/src/qemu/postcopy-migrati= on.sysctl deleted file mode 100644 index db3f11e49f..0000000000 --- a/src/qemu/postcopy-migration.sysctl +++ /dev/null @@ -1,6 +0,0 @@ -# This is needed to support post-copy migration for QEMU run by libvirt, -# i.e., unprivileged, as userfaultfd is by default only available to -# privileged processes. -# It can be safely overridden by a file in /etc/sysctl.d/ in case post-copy -# migration is not used on the host. --vm.unprivileged_userfaultfd =3D 1 --=20 2.51.1